Monday, March 26, 2012

session variable getting lost

There is a problem with losing values in Session Variable. I am
currently troubleshooting as to why. I am working with tabs and all
code is on the same page and my session variables are dropping.
Microsoft acknowledge this is a problem:
http://support.microsoft.com/kb/316148. I am still trying to figure out
why I am losing my session variables. None of the issues mentioned here
or on microsoft have been found to be the culprit.
If anyone knows why, I would like to know.
*** Sent via Developersdex http://www.examnotes.net ***That KB is over 2 years old.
Antivirus scans are but one of the possible reasons for applications to rest
art,
which in turn causes the loss of session variables if session state is kept
in-process.
Modifying the source code of your Web application will
cause ASP.NET to recompile source files into assemblies.
When you modify the top-level items in your application, all other assemblie
s
in the application that reference the top-level assemblies are recompiled as
well.
In addition, modifying, adding, or deleting certain types of files
within the application's known folders will cause the application to restart
.
The following actions will cause an application restart:
1. Adding, modifying, or deleting assemblies from the application's Bin fold
er.
2. Adding, modifying, or deleting localization resources
from the App_GlobalResources or App_LocalResources folders.
3. Adding, modifying, or deleting the application's Global.asax file.
4. Adding, modifying, or deleting source code files in the App_Code director
y.
5. Adding, modifying, or deleting Profile configuration.
6. Adding, modifying, or deleting Web service references in the App_WebRefer
ences directory.
7. Adding, modifying, or deleting the application's Web.config file.
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
======================================
"Carlos Vasquez" <rvproductions2000@.gmail.com> wrote in message news:%23Kjld0MkIHA.6136@.TK2
MSFTNGP03.phx.gbl...
> There is a problem with losing values in Session Variable. I am
> currently troubleshooting as to why. I am working with tabs and all
> code is on the same page and my session variables are dropping.
> Microsoft acknowledge this is a problem:
> http://support.microsoft.com/kb/316148. I am still trying to figure out
> why I am losing my session variables. None of the issues mentioned here
> or on microsoft have been found to be the culprit.
> If anyone knows why, I would like to know.
> *** Sent via Developersdex http://www.examnotes.net ***

0 comments:

Post a Comment