codehaven - php snippets - coding help
Generic filters
Exact matches only

Show all current sessions

php codehaven

This code shows all session variables that are active.

You just have to set each page with a session as the name of the page and with a time, the this will show/track how many people are viewing what page via the admin-logs page, it will search and show info put out by the […]

Set session variable and check if equal to value

php codehaven

Set session variable to yesok

Check it on next page

Else do a redirect and add this to the top