Jump to content

destroy session after (x) page views?


aebstract

Recommended Posts

Is there a way to destroy a session after you've navigated, let's say, 2 pages?

 

example:

 

page1: set session

page2: session is set, showing info lala

page3: session is set, showing info lala, session destroyed

page4: no session

 

but pages 2 and 3 could be anywhere in the website, no specific route, just 2 random pages away.

Link to comment
https://forums.phpfreaks.com/topic/147011-destroy-session-after-x-page-views/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.