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
Oh George, your questions are still as obscure as they've always been. Whats to stop a programmer setting session["timeToken"] = ""? It doesnt necessarily mean the whole session is expired, just that that particular variable has been set to an empty string.
-
Oh George, your questions are still as obscure as they've always been. Whats to stop a programmer setting session["timeToken"] = ""? It doesnt necessarily mean the whole session is expired, just that that particular variable has been set to an empty string.
-
J4amieC wrote:
Oh George, your questions are still as obscure as they've always been.
I'm hoping you didn't fall out of your chair. ;)
Can't you just insert the code in the GLOBAL.ASA to handle whatever it is you are trying to do?
Preston Tech Director / Developer MetalBuilding.com