ASP session expire issue
-
Hello everyone, My question is related to ASP classic, not ASP.Net, my question is -- whether it is good code to judge that, if a session variable is "" (Empty String), then I treat session as expired? Like this,
if session("timeToken") = "" then // logics deal with session expire?
thanks in advance, George
-
Hello everyone, My question is related to ASP classic, not ASP.Net, my question is -- whether it is good code to judge that, if a session variable is "" (Empty String), then I treat session as expired? Like this,
if session("timeToken") = "" then // logics deal with session expire?
thanks in advance, George
George_George wrote:
My question is related to ASP classic, not ASP.Net
But George this is ASP.Net Forum. :)
cheers, Abhijit CodeProject MVP Web Site:abhijitjana.net
-
George_George wrote:
My question is related to ASP classic, not ASP.Net
But George this is ASP.Net Forum. :)
cheers, Abhijit CodeProject MVP Web Site:abhijitjana.net
But Abhijit where to ask? :-)
-
But Abhijit where to ask? :-)
-
Going there, thanks! regards, George
-
Hello everyone, My question is related to ASP classic, not ASP.Net, my question is -- whether it is good code to judge that, if a session variable is "" (Empty String), then I treat session as expired? Like this,
if session("timeToken") = "" then // logics deal with session expire?
thanks in advance, George
-
When session expires every session object will be set to "null" .Please compare with null instead of empty string. If you want to compare with empty string then convert session variable into string format.
modified on Friday, June 5, 2009 5:48 AM
-
When session expires every session object will be set to "null" .Please compare with null instead of empty string. If you want to compare with empty string then convert session variable into string format.
modified on Friday, June 5, 2009 5:48 AM
What is the issue in my code and differences compared with my code? regards, George