Click to See Complete Forum and Search --> : is there a way to check whether a sesio time out ccured?


pelegk1
07-24-2003, 04:47 AM
can i check if a time out acured in a session?
is it possible?
thanks in advance
PEleg

pelegk1
07-24-2003, 09:03 AM
the thing is say i have a session time out of : 5 minuts!
and the user has gone from the pc for 10 minutes!
and i want to know that he's session has done (for example if he moves from 1 page to another and the session has done it mean's that i will not have session("password")
and that mean
1)he didnt enter it
2)the timout session accured!
and i want to tell the user whats the execly problem (1) or (20
how to do it?
by the way :
what the time at your place
here in israel its 17:00

pelegk1
07-27-2003, 03:07 AM
that i want to check wheter a session time out occured that i got to a certain page o whether the session cookies are disabled by the user and beacuse of that i got to the page igot!
(if i will check len(session("myVar"))=0 and i will get TRUE
it is possible of 2 reason's :
1)time out- which destroys all the session variables!
2)session cookies disabled by the user - which means that cookies will not saved in memory! - or maybe i wrong!-what execlly means that i disable cookies on client side -does is stops the server side of holding a session for the client?
can't create variables?
thanks in advance
peleg