Jump to content

session


tauchai83

Recommended Posts

Just create a if() block, first testing for the COOKIE['var'], if it's found then use the COOKIE['var'] to set the session, if it's not found then check for the session name in the COOKIE, if that's found, use that, if it's not found, send them to the login form. You set different methods to control access, but I think it would be better to spend a few minutes and have you and your partner create a standard method that both of you can implement and follow.

printf
Link to comment
https://forums.phpfreaks.com/topic/34949-session/#findComment-164844
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.