473,722 Members | 2,337 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

IFRAME and form variables

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?

CODE_A
sets one or two iframes with width
one frame runs CODE_B

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
Jul 22 '05 #1
0 1254

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
3729
by: cakewalkr7 | last post by:
We have a form that contains an iframe. In the iframe are 3 select boxes (country, state and city). When you select the country, the iframe page refreshes with the appropriate states and does the same thing when you select a state. We did some testing in the different browsers with this method and it appeared that the only browser that it worked reliably in was IE. So, we put some asp code in that ran a browser check and displayed the...
3
1833
by: cevatkerim | last post by:
Ok simple project! a login page with a hidden iframe when u click on submit after inserting your user and pass it pushes those values to iframe and asp query the db and returns a code if it is ok then whe whole page redirect to a url if not an error code is showed on the page how do I do this? I am really confused?!?!
3
4004
by: Stevie_mac | last post by:
It might be me but... I dont seem to get a Page_Load event when a opening an ASPX in an iFrame. I do geta Page_Load event when an item on the ASPX (inside the iFrame) is clicked but then IsPostBack=False by now!. The ASPX is opened via client side script (into an iFrame) inside a .HTM file (as ASPX postback causes problems in a modal internet explorer dialog if not in an iFrame!) Anyone know how to get around this - i need to...
0
1567
by: John Shum | last post by:
My application, written in ASP.net, require some compulsory information from Session variables to load, these variables, will prepare from the logon pages. As I need to prepare a short-cut for another system written in another languages and in different server, to load some pages directly, I prepare a short-cut form, that prepare those required session variable, and redirect user to the desired page. The page work fine when it run in an...
5
2057
by: pbd22 | last post by:
hi. i have a hidden iframe for uploading files. when i check the httpfilecollection on the server, it is always zero - the files never make it to the server. i know all the javascript is working correctly on the client b/c i have followed the local variables using venkman. so, something is happening on the server.
4
19514
by: Jayyde | last post by:
Is there any way to capture a button click inside an iFrame and perform both an action on that page and one on the parent page? Basically I have a page atm that allows the user to add a record to a table and what I would like to have are save and cancel buttons (or maybe just a save button with a close image on the DHTML "window") on the page that, when save is clicked for instance, will save the record (code in that page) and close the...
0
1298
by: bnashenas1984 | last post by:
Hi I have a form which sends some variables. but i need to have an IFRAME inside this form which has its own variables. My question is if i can get this IFRAM's variables into my main page ( parent ) here is the first file 1.php <form action="1.php" method="post">
2
6859
by: mkhines | last post by:
I'm having trouble figuring out the proper way to pass this variable in with javascript alone. I'm not used to not being able to use jsp and all the love that is in that. Obviously I know little about javascript! So you get the whole story, the user will begin on a page which has an iframe in it that picks up a parameter http://wildlifedisease.nbii.gov/ecoregions/theirpage.html
0
8861
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8739
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
9154
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9088
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6681
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4502
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4762
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3207
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2147
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.