note 54663 added to ref.session
| From: | jentulman at NOSPAM dot jentulman dot co dot uk | Date: | Tue, 12 Jul 2005 08:40:23 +0000 |
| Subject: | note 54663 added to ref.session | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-91790@lists.php.net to get a copy of this message | ||
Here's one for the 'session disapearing after a rediredt problem'. It's nice and
simple but drove me mad for a couple of hours.
I was getting reports of users logging in apparently successfully but not actually being logged in
and couldn't replicate it myself.
I had a configuration file called at the begining of my script setting defines for physical and url
paths, and users with the problem were coming in on a domain alias so of course the login went fine,
but then they were redirected to a different domain and the cookie was pointless.
Not very technical I know but maybe it'll stop someone having to headbang like I did.
----
Manual Page -- http://www.php.net/manual/en/ref.session.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+54663
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+54663&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+54663&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+54663&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+54663&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+54663&report=yes&reason=non-english
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+54663&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+54663&report=yes
Search -- http://master.php.net/manage/user-notes.php