How do i know what unixtime a php session will expire?
Posted
by Steve
on Stack Overflow
See other posts from Stack Overflow
or by Steve
Published on 2010-04-20T04:33:38Z
Indexed on
2010/04/20
4:43 UTC
Read the original article
Hit count: 290
Hi
How do I know how many seconds it will be until a php session expires?
I'm building a web application where users might spend a lot of time typing into big text fields, but for security reasons I still want sessions to time out after a reasonably short period. I want to warn them if their session is about to expire so they can save or take some other action to keep it alive.
Any tips? thanks!
© Stack Overflow or respective owner