You are here: Re: sessions and persistence? « All PHP « IT news, forums, messages
Re: sessions and persistence?

Posted by OmegaJunior on 01/13/07 22:56

On Sat, 13 Jan 2007 23:07:00 +0100, raj <raj@nospam.com> wrote:

> Hi,
>
> How are sites built so that once a website has been left (either by
> logging
> out or by just moving out of the domain), that a login becomes necessary
> again once the site is revisited (either by back button, history or
> revisiting the site)?
>
> Thank you in advance.
>
> Kind regards,
>
> Raj (Newbie)
>

Usually a log-in stays active as long as the browser remains open (for
security schemas that don't use cookies) or as long as the cookies aren't
thrown away / expired (for security schemas that do use cookies).

However, you can also use a session key in the querystring, with a
specific time stamp embedded in it. Each time the visitor changes page,
you update the session key with a more current time stamp. Then when the
visitor has been away for a few minutes, or enters the site from a
different place, the session will have expired.

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

 

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

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