|
|
 |
Re: FN-FORUM: passing form contents to an Iframe
date posted 1st November 2003 13:26
Hello Pam
If you area woried about people seeing the sql, why dont you encrpyt the
querystring on the end of the iframe src and then decrypt it in the iframe
page. All of the ways I have used to pass info to iframe pages have alyways
involved querystrings or javascript onload; or you could break doen the
variables and pass them across the querystring and build up the query again
in the iframe page and then pass any info back into the parent page on the
iframe page onload using javascript back into any
tags in the parent page.
Give me a shout if you need any extra help here
Best Regards
John
----- Original Message -----
From: "Alan Sheppard" [EMAIL REMOVED]
To: [EMAIL REMOVED]
Sent: Saturday, November 01, 2003 1:18 PM
Subject: RE: FN-FORUM: passing form contents to an Iframe
>
> Pam
>
> Then I think you need to replace the Iframe with a subroutine using CSS
> stuff to emulate the Iframe within the same page and pass the parameters
> within ASP so it's invisble to the client side.
>
> Of course this is a pain because of the inconsistant behaviour of CSS
> across browsers, but once you've built it with enough passed parameters I
> guess it could become re-usable.
>
> Alan S
>
> On 01 November 2003 12:59, PAMELA WHITTAKER [EMAIL REMOVED]
> wrote:
> >
> > I was trying to avoid passing it as a querystring as it is sql
> statements.
> >
> > Pam
> >
> > ----- Original Message -----
> > From: "Alan Sheppard" [EMAIL REMOVED]
> > To: [EMAIL REMOVED]
> > Sent: Saturday, November 01, 2003 12:52 PM
> > Subject: RE: FN-FORUM: passing form contents to an Iframe
> >
> >
> > >
> > > Pam
> > >
> > > I think it's because at the time the Post executes the Iframe Target
> > object doesn't exist.
> > >
> > > I've not tied it myself but I think you may need to construct the
> source
> > for the Iframe as a query string and pass the
> > >
> > > request("myfield") values from the containing page to it.
> > >
> > > i.e.
> >
> src="myframepage.asp?testfield=""
> > >
> > > then in the myframepage.asp look for the request("testfield") and see
> > what's in it
> > >
> > > Alan S
> > >
> > > On 01 November 2003 12:18, PAMELA WHITTAKER [EMAIL REMOVED]
> > wrote:
> > > >
> > > > Hi,
> > > > I am trying to pass form contents from a page to an Iframe in a
> new
> > > > page. I have put the form action as the name of the main page and
the
> > target
> > > > for the form as the name of the Iframe but it isn't working.
> > Request.form in
> > > > the main page contains the form contents and request.form in the
> Iframe
> > page
> > > > is spaces. What am I doing wrong? I was expecting it to be the other
> way
> > > > round.
> > > >
> > > > Pam
> > > >
>
>
> --
> * The Web Design Business Kit *
> Find out how to price your work, market your business, make pitches
> that get the client, write effective proposals and beat the competition
> into the ground. Download 4 free sample chapters.
> http://sitepoint.com/launch/b7c91e/
>
> To advertise here: http://www.freelancers.net/advertising.html
>
> |
 |
|