1.

Solve : Destroy htaccess (apache) session??

Answer»

Hello, does anyone know how to destroy a htaccess (apache) session? E.G. there are two USERS logged in and I want that ONE user isn't logged in anymore by destroy his session. I have no idea how you would change an apache session, perhaps anyone can help me please?

Contence htaccess:

INHOUD htaccess bestand:
AuthType Basic



require user blackberry

require user user2


How are you creating the sessions?
It's been a while SINCE I've done any real php programming, but there is a destroy function that will do what you want. look it up on www.php.net
(I'm not sure what the actual function name is, sorry)Quote from: michaewlewis on April 02, 2008, 09:20:42 AM

How are you creating the sessions?
It's been a while since I've done any real php programming, but there is a destroy function that will do what you want. look it up on www.php.net
(I'm not sure what the actual function name is, sorry)

There is a difference between php sessions and apache sessions. As FAR as I know there is no function to destroy an apache session, that's why I'm looking for an alternative methodUse PHP

session_destroy();


Discussion

No Comment Found