You are here: Re: trouble with PHP session - i think ???? « PHP Programming Language « IT news, forums, messages
Re: trouble with PHP session - i think ????

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация