Re: Newbie - Can't get sessions to work
| From: | Curt Zirzow | Date: | Thu, 23 Oct 2003 14:12:06 +0000 |
| Subject: | Re: Newbie - Can't get sessions to work | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-167272@lists.php.net to get a copy of this message | ||
* Thus wrote Shaun Campbell (s.campbell@freeuk.com):
> That's it. Setting use_trans_sid to 1 got sessions working. I'm now getting
> PHPSESSID=7398a182a64f0b2603e369812e130727 appended to the end of the
> page2.php URL and only one session file in my temp directory.
>
> One final question. In the php.ini file it says that
>
> "Use of trans sid may risk your users security.
> ; Use this option with caution."
>
> If you don't use this option because of the security impications how else
> should you get sessions working?
>
You turn on the use_cookie option in the php.ini file. And ensure
your web browser is accepting cookies.
Curt
--
"My PHP key is worn out"
PHP List stats since 1997:
http://zirzow.dyndns.org/html/mlists/