Re: Help Session Varable Disappeared (asp.net 2.0)
- From: "Cowboy \(Gregory A. Beamer\)" <NoSpamMgbworld@xxxxxxxxxxxxxxxxxx>
- Date: Wed, 5 Jul 2006 07:40:21 -0500
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.
.
- Prev by Date: Re: Global Name for TreeView
- Next by Date: How to use MS Access DB for ASPNET Application Services (membership, profile, etc)
- Previous by thread: Scheda ASP.NET in IIS
- Next by thread: How to use MS Access DB for ASPNET Application Services (membership, profile, etc)
- Index(es):