Posted by Markus on 07/13/07 08:24
SA SA schrieb:
> Hello i am not PHP expert - i need help big time.
>
> i am having issue with PHP session i think. I have two page login.php
> and admn.php As name implied login to log in to admin page manage
> database. But as soon as session initiated and passed to admin.php -
> the session variable fails and it always default to else section in
> php. And again - that what i think i may be completely off base.
In addition to what has been written already by others, I see:
> login.php
> <?
>
> session_start();
And:
> Admin.php
> <?session_save_path("/tmp");
> session_start();?>
It looks like you store the session in different locations in login.php
and Admin.php. So possibly Admin.php starts a new session in /tmp, even
if login.php has started one already in another directory which is
default for your server.
HTH
Markus
Navigation:
[Reply to this message]
|