Reply to Re: How to kill all active sessions?

Your name:

Reply:


Posted by Rik Wasmus on 09/10/07 08:36

On Mon, 10 Sep 2007 09:36:38 +0200, Ming <minghuiyu@gmail.com> wrote:

> Hi all,
>
> I wonder if there is a way to kill all active sessions.
>
> Basically, I want to have a page, for example, foo.php. Whenever users
> visit this page, regardless of where they come from, all sessions that
> are from my site will be destroyed.

Depends on what kind of session-handling you use. When using the default
'files', it's a piece of cake to delete all session files in the
session_save directory manually offcourse. In a shared hosting environment
it might hugely upset other users, so I'd only recommend it when you have
your own directory.
--
Rik Wasmus

[Back to original 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

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