Re: Newbie - Can't get sessions to work
| From: | Shaun Campbell | Date: | Thu, 23 Oct 2003 10:56:56 +0000 |
| Subject: | Re: Newbie - Can't get sessions to work | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-167250@lists.php.net to get a copy of this message | ||
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?
Thanks
Shaun
PS Marek I'd forgotten but I'd got cookies working yesterday using the code
you suggested.