php-general | 2003022
Date: 02/28/03
- Next message: CodersNightMare: "RE: [PHP] Can't run PHP cli script from Cron"
- Previous message: Steve Buehler: "[PHP] testing for < 0"
- Maybe in reply to: Don: "[PHP] How can I detetct if session cookies are enabled?"
- Next in thread: Ernest E Vogelsinger: "Re: [PHP] How can I detetct if session cookies are enabled?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> Is there a way (PHP code if possible please) to verify
> if session
> cookies are enabled in the user's browser?
On the *second* request, check if $_COOKIES['PHPSESSID'] is set.
On the initial request, PHP sends the 'PHPSESSID' cookie as part of the
response. The browser then returns that cookie in its next request.
Kirk
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: CodersNightMare: "RE: [PHP] Can't run PHP cli script from Cron"
- Previous message: Steve Buehler: "[PHP] testing for < 0"
- Maybe in reply to: Don: "[PHP] How can I detetct if session cookies are enabled?"
- Next in thread: Ernest E Vogelsinger: "Re: [PHP] How can I detetct if session cookies are enabled?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

