You are here: Re: Authentication session variable being lost between pages « PHP Programming Language « IT news, forums, messages
Re: Authentication session variable being lost between pages

Posted by Toby Inkster on 07/30/06 08:53

Vyoma wrote:

> After successful login, it will show the content.
> Now, if I type the http://locahost/index.php, it should still be
> showing the content. But it does not. For some reason, I am loosing
> the $_SERVER['auth'] variable. I am not sure, where in the flow I am
> doing wrong.

Should be $_SESSION['auth'], not $_SERVER['auth']. :-)

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

 

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

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