RE: [PHP] sessions
| From: | Jon Haworth | Date: | Fri, 25 Oct 2002 09:00:29 +0000 |
| Subject: | RE: [PHP] sessions | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-121398@lists.php.net to get a copy of this message | ||
Hi Shaun,
> how can i test if a browser supports cookies
Try and set one on page A, and then read it on page B. If it's not there,
the browser doesn't support cookies.
> Is it dangerous to let php handle the sid in the url
> if a browser does not support cookies?
There's an extremely remote possibility a session can be hijacked.
> Can someone send me an example of good login code.
Sure:
http://zend.com/zend/tut/authentication.php
Cheers
Jon