You are here: Re: {newbie} a cookie/session question « PHP Language « IT news, forums, messages
Re: {newbie} a cookie/session question

Posted by Hendri Kurniawan on 01/03/07 21:54

I think they are talking about using cookie to store session id.
See PHP manual on session handling function.
PHP can do this automatically.

Hendri Kurniawan

Jeff wrote:
> Hey
>
> I'm using php version 5.2.0.
>
> On the web site I'm trying to create I want registered users to login to the
> web site. After the user has logged in, the web site will recognize the user
> even if he restarts his browser. From what I understand I need to use cookie
> instead of a session to solve this issue...
>
> But I've heard about the "cookie based sessions" phrase, and it's confusing
> me. Is this just a regular cookie or is this a cookie I must store the
> session id within? To me it sounds a bit strange to store the session id in
> the cookie because if the user should be able to restart his browser etc
> then it will (from what I understand) create different session ids??
>
> Any comments?
>
> Jeff
>
>

 

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

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