|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
abandon session in one child window with another
Hi everyone. I have learned asp just for a short time and now I have a problem.
If I open a new window from a parent window, then open another new window again from the parent window, can the session of the 1st child window be abandoned when the 2nd child window is opened? (I'm not a native English speaker, so may have some mistakes in my English.) THX! |
|
#2
|
|||
|
|||
|
you can abandon the session from anywhere, then all subsequent calls to the webserver will be with the new session ID. keep in mind however that a session isn't abandoned until AFTER the page is loaded. So if you call session.abandon on the first line of a page, then you call Session.SessionID later in the page, it will still be the 'expired' session id.
|
|
#3
|
|||
|
|||
|
Thx alot !!
![]() |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > abandon session in one child window with another |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|