Logout using session

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
SteveW
Beginner
Beginner
Posts: 3
Joined: Sun Jul 27, 2008 9:34 am

Logout using session

Post by SteveW »

Hi again,

Does anyone know how I can achieve placing a logout button in my menu:

The code I need to use is either

Code: Select all

<!--#include virtual="./SSI.php?ssi_function=logout" -->
OR

Code: Select all

<a href="index.php?action=logout;sesc='.$context['session_id'].'">
This will give an url like : /index.php?action=logout;sesc=759d23bd33724ad63268e17e7b8db910

Thankyou in advance :)
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Re: Logout using session

Post by Ruth »

Hi,

I've posted this to Milonic. I know people do logouts/logins inside the menu, but I don't know how to do them. You might try the support system if you have a professional or above current license.

http://www.milonic.com/support/

Sorry, I can't be more help. I do know it can be done :)

Ruth
Post Reply