Re: Session and Cookie issue
| From: | Chris Shiflett | Date: | Tue, 02 Mar 2004 22:57:05 +0000 |
| Subject: | Re: Session and Cookie issue | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-179310@lists.php.net to get a copy of this message | ||
--- Hardik Doshi <php_hardik@yahoo.com> wrote:
> I have selected Disable cookie option in the safari
> browser setting on my MAC. Before selecting this
> option, my website was working fine but after
> disabling the cookie option, i am not able to log-in
> to my website.
There are at least two options:
1. Include the session identifier in all your URLs manually.
2. Let PHP do this for you by enabling session.use_trans_sid in your
php.ini.
With option 2, the session identifier will be appended to all URLs when
the user first visits the page, and every visit thereafter only performs
this action if the user has disabled cookies.
Hope that helps.
Chris
=====
Chris Shiflett - http://shiflett.org/
PHP Security - O'Reilly
Coming mid-2004
HTTP Developer's Handbook - Sams
http://httphandbook.org/
PHP Community Site
http://phpcommunity.org/