Page 1 of 1

Browser expirations

Posted: Sat Apr 07, 2007 12:09 pm
by php77
hi
what could be a very good technique, to make a page expirable after a definite duration, in case of using things like CAPTCHA, from the security point of view?
thank you!

Posted: Sat Apr 07, 2007 12:34 pm
by louie35
you could try javascript to refresh the page to another one like home page after a certain amount of time.

Posted: Sat Apr 07, 2007 1:45 pm
by louie35
or

<META HTTP-EQUIV=REFRESH CONTENT="5; URL=http://www.example..com">­

another option is to use Ajax to check the time stored in a session and compare it using php and if certain amount has passed redirect.

Posted: Sat Apr 07, 2007 2:08 pm
by aaronhall
Are you trying to log users out after a certain period of time? Give us some context