Re: [PHP] Session treating

2011-07-31 Thread Andre Polykanine
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 separat

Re: [PHP] Session treating

2011-07-31 Thread Ashley Sheridan
Andre Polykanine wrote: >Hi guys and girls, >I'm completely stuck at a really stupid thing. >For some reason my session id doesn't pass through the links. > >Here is the code: > >index.php: > >// Checking if the admin was ever authorized >if ($_SESSION['PSS']!=session_id()) $auth=0; else $auth=

[PHP] Session treating

2011-07-31 Thread Andre Polykanine
Hi guys and girls, I'm completely stuck at a really stupid thing. For some reason my session id doesn't pass through the links. Here is the code: index.php: Invalid login or password!"; include "login.php"; } else { // Attention! session_name("PalantirSessId"); session_start(); // Everything goe