how to detect if PHPSESSID is changed
PHPSESSID Session Cookie
how to know if PHPSESSID is cahnged in the current session icouldn't find way to detect if this variable change is changes
as i want to check if the user has modfy the PHPSESSID or delete it (as deleteing it cause to create new one .开发者_如何学Python)
and i can't save the value of this in session as all session are cleared when i delete PHPSESSID and aslo idont want to save it in session cookie
maybe he don't want to lose data in session
User (browser) can not change PHPSESSID, user can delete a cookie which stores session ID or modify URI parameter. Why would your users modify/delete their session ID?
To check PHPSESSID value(or any other cookie value) you can use firebug. There is a cookie tab in firebug and you can use it to examine or delete any cookie.
Using Firebug you can not modify cookie value. To modify cookie value, you can use "web developer toolbar" for firefox. It has a cookies tab through which you can add/modify/delete any cookie(including session cookie).
精彩评论