How to have PHP session expire upon browser close OR some extended duration of time

Whawgallearia

New Member
My php session is set to expire when user closes the browser but I noticed that if I leave my browser open for an extended period of time (24+ hours for example) the session still persists. Is there a way that I can have these sessions expire either when the browser is closed or when some extended period of time has transpired?
 
Back
Top