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 11/30/28 11:54

Vyoma wrote:

> If I do not call the session_register('auth'), can I still use
> _SESSION['auth']?

Yes -- session_register() effectively does nothing these days.

> And if I am not using session_register(), should I be calling
> session_start()?

Yes -- session_start() is still needed.

--
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

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