Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > IFRAME and form variables

Thread Tools

IFRAME and form variables

John Wood
Posts: n/a
I have an ASP script in which I want to control the screen as two frames
If I use a FRAMESET this works fine but the frame geometry is fixed

the script uses POST and hidden fields to transfer the data from step to
step, what I would like is to be able to change the sizes of the frames
or even go from two frames to one and back to two as I go through the
dialogue. So I thought to use IFRAMES instead of a frameset, but now I
have two ASP scripts, one for the IFRAMEs and one for the code to run in
the iframe pages. The form fields are passed and seen by the top iframe
ASP but no longer by the lower code.

I hope that is clear enough
How can I get the form variables in to the lower script?
If not possible, am I better to use a database or server side session
variable to hold the data between steps?

sets one or two iframes with width
one frame runs CODE_B

runs the user dialogue and uses FROM and POST with hidden variables
the FORMs run CODE_A to get to the next step since I want to reset the
frame widths, but I have lost access to the form variables

all help welcome
John Wood
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
form have 2 iframe.problem to input text in other iframe elca Python 0 10-21-2009 10:00 AM
Put variables into member variables or function variables? C++ 9 03-23-2008 04:03 PM
parent/iframe set iframe source and submit form Javascript 2 03-09-2006 11:05 PM
Safari, hidden iframe, submit form target = iframe Javascript 0 02-21-2006 01:48 AM
Get form values from iframe (1) to iframe (2) inside a layer in iframe (1) Daedalous Javascript 3 01-16-2004 11:08 AM