Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_databases thread: Transfering Variables to New Window


Message #1 by "Scott Frank" <scott@w...> on Wed, 27 Jun 2001 06:10:46
Is it possible to transfer variables using POST to a new browser window?  

I can open the browser window no problem, its just that the variables 

don't come through.  Everything works fine if I dont open the new window.



Thanks for your help.
Message #2 by Vivekanand.S@i... on Wed, 27 Jun 2001 10:59:41 +0530
Declare them as session variables

eg to pass total,declare

session("total")

or u can use hidden tags

like

<input=3Dhidden name =3Dmark value=3D10> etc

amd at the next browser,can get the values using request.form("mark")



With Regards

Vivekanand.S



Message #3 by "J House" <jesse@s...> on Wed, 27 Jun 2001 15:30:47
If you do use sessions, make sure that once you have the form input to 

destory them. Session.Abanandon will remove all the sessions, if you had

any sessions that you still need on IIS5 use Session.Contents.Remove

("SessionName") for each one you don't need, otherwise they will presist 

for 20 minutes, a waste of resources.



Why not use GET?



> Is it possible to transfer variables using POST to a new browser 

window?  

> I can open the browser window no problem, its just that the variables 

> don't come through.  Everything works fine if I dont open the new window.

> 

> Thanks for your help.

  Return to Index