session time out
-
Hi guys, iam using session in my project some session variables are interger some other string. when session expired i click next button they show error, so i want to validate when session is expired. so please give some ideas how to validate
Praveen Kumar.R
-
Hi guys, iam using session in my project some session variables are interger some other string. when session expired i click next button they show error, so i want to validate when session is expired. so please give some ideas how to validate
Praveen Kumar.R
The best you can do is work out in your pages that it has timed out, and redirect to the login page.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
-
Hi guys, iam using session in my project some session variables are interger some other string. when session expired i click next button they show error, so i want to validate when session is expired. so please give some ideas how to validate
Praveen Kumar.R
Before getting the data from the Session first check is not null.
Parwej Ahamad g.parwez@gmail.com
-
Hi guys, iam using session in my project some session variables are interger some other string. when session expired i click next button they show error, so i want to validate when session is expired. so please give some ideas how to validate
Praveen Kumar.R
praveenkumar_mca wrote:
so i want to validate when session is expired.
As Christian told you need to validate session existence on each page_load. It could be something like
if ( session["yoursessionvalue"] == null)
Response.Redirect("Loginpage");
-
Hi guys, iam using session in my project some session variables are interger some other string. when session expired i click next button they show error, so i want to validate when session is expired. so please give some ideas how to validate
Praveen Kumar.R
-
Check the session value in page load. If it is null then redirect the login page showing the message that your session is time out.
Why is it that suddenly so many questions get the same answer given over and over again ?
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )