Re: Help Session Varable Disappeared (asp.net 2.0)



If you open using Control + N (or New Browser from the menu), the two
instances share session. Most likely you are killing the session var on the
second instance, which kills it in both. Try opening a new browser instance
from the start menu and see if it still happens. If not, there's your
trouble! :-)

Try not to rely on session vars too much. Most of the reasons for storing on
the server come from needing something in a single page. ViewState is a
better option, as it falls out of scope when the page is gone.

--
Gregory A. Beamer

*************************************************
Think Outside the Box!
*************************************************
"Gary" <Gary@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:F4E49938-183F-451F-B259-94D7C0109E62@xxxxxxxxxxxxxxxx
Open the web browser at the same time, the session varable in the second
broswer is disappeared.
All The Session Varable is declared in the webform page load.



.