Re: How is SESSION_ID passed?
| From: | Miguel Cruz | Date: | Sat, 25 May 2002 07:38:55 +0000 |
| Subject: | Re: How is SESSION_ID passed? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-99206@lists.php.net to get a copy of this message | ||
On Fri, 24 May 2002, Alex Shi wrote:
> I have created several web sites using php. In all these sites
> session id is passed via cookie. However I noticed that some
> times it was passed by url. I am thinking that to pass session
> id by url will be safer than by cookie.
You are thinking incorrectly; there's no particular difference. It's
prettier by cookie, but doesn't work for everyone, so it's easiest to just
use the built-in transparent session ID functionality as described in the
manual. Most people get cookies, and those for whom that doesn't work get
GET args.
miguel