Session Lost
-
Hello, Please let me know why we lost the session in our web application after exception, notice that all the code contains try-catch block. Thank you
-
Hello, Please let me know why we lost the session in our web application after exception, notice that all the code contains try-catch block. Thank you
check the timeout value of sessionstate in your web.config. May be you have given very less. Session variable doesn't depend on try catch. Its only used to handle errors.
-
Hello, Please let me know why we lost the session in our web application after exception, notice that all the code contains try-catch block. Thank you
check the timeout value of sessionstate in your web.config. May be you have given very less. Session variable doesn't depend on try catch. Its only used to handle errors. In addition sessions will not work locally or on the server unless you are running https (note the S on the end of https), if you have the following in your web.config file:
-
Hello, Please let me know why we lost the session in our web application after exception, notice that all the code contains try-catch block. Thank you
We solve the problem by change logfile location from bin to any folder outside the bin folder.
-
check the timeout value of sessionstate in your web.config. May be you have given very less. Session variable doesn't depend on try catch. Its only used to handle errors. In addition sessions will not work locally or on the server unless you are running https (note the S on the end of https), if you have the following in your web.config file:
kaushikpathak wrote:
In addition sessions will not work locally or on the server unless you are running https (note the S on the end of https),
I'm sorry, but that is just absolute cobblers....nonsense
C# has already designed away most of the tedium of C++.