Re: Session treating
| From: | Andre Polykanine | Date: | Sun, 31 Jul 2011 18:36:19 +0000 |
| Subject: | Re: Session treating | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-314252@lists.php.net to get a copy of this message | ||
Hello Ashley,
> One thing sticks out a little bit to me. In your index.php file, you're accessing an
> element of the $_SESSION array, but without calling session_start() first. I believe this may be
> causing the issue you are seeing.
I tried using it without success. I'm having now 3 separate session IDs:
1. Before the login form is
processed,
2. After the login form is processed,
3. When clicking the Articles link, on the articles.php page.
--
With best regards from Ukraine,
Andre
Skype: Francophile
My blog: http://oire.org/menelion (mostly in Russian)
Twitter: http://twitter.com/m_elensule
Facebook: http://facebook.com/menelion