CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 How to put a LOGOUT option in Menu

Print topic Send  topic

Author Message
JoeMann
Posted: 05/27/2003, 5:42 AM

I would like to have the menu page also contain a logout option to log the user out, but if I simply link to the logout page it's a 2 step process.
Is there some kind of function that I should have the menu option call to log the user out?

I looked in taskman example but they don't have the logout option on every page.

Thanks !
JoeMann
Posted: 05/27/2003, 6:07 AM

I found something like this on the board, and wanted you to know I tried it, with no success... I thought this was a clean way to do it putting the below in
the page open event...
Maybe because I am using PHP this may be a problem...

'->Open Event Start

'Logout the user before asking for Login
Session("UserID") = Empty
Session("UserRights") = Empty

'<-Open Event End

I also tried
Session("UserID") = Empty
Session("UserRights") = Empty

Session("UserID") = Empty;
Session("UserRights") = Empty;

No luck..
EMGX
Posted: 05/27/2003, 11:45 AM

CC or CCS?

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.