|
-
Apr 5th, 2004, 10:06 PM
#1
Thread Starter
Frenzied Member
complex webbrowser problem...maybe
Hey all.
helping a coworker with this.
two forms. each has a webbrowser, wb
first form's wb navigates to the login page
user enters name and password into input boxes on login.asp
clicks submit button
Post Method of the form sets the username as a session variable and redirects to Main.asp
but my coworker wants Main.asp to open on the second form, in the second wb, still holding the session variable.
I think that counts as two sessions, and won't work no matter how you do it.
Is it possible to transfer from one wb to another from a click on the webpage, and keep the session variables.
I can't tag them in the URL, because that will expose them in IE's address bar, so I was hoping for session variables
Wen Gang, Programmer
VB6, QB, HTML, ASP, VBScript, Visual C++, Java
-
Apr 6th, 2004, 07:22 AM
#2
The session will be one copy not two copy like you mentioned. The session will still exist and you can check if it exists from the 2nd page, but that depends how you have created the session. If you dont specifiy any expiry time then the session will end when you clost the first page or navigate to different website.
So to answer your question, set the session expiry time. That should do it.
Danial
[VBF RSS Feed]
There is a great war coming. Are you sure you are on the right side? Atleast I have chosen a side.
If I have been helpful, Please Rate my Post. Thanks.
This post was powered by : 
-
Apr 6th, 2004, 08:24 AM
#3
Hyperactive Member
You can also just transfer your code in WB1 to WB2... WB1.Source or something...
"Experience is something you don't get until just after you need it."
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|