|
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
Navigation:
[Reply to this message]
|