Niraj,
Try the following:
<%
session.removeAttribute("allaire.jrun.security.authenticationState");
session.removeAttribute("alliare.jrun.security.principal");
session.invalidate();
%>
You shouldn't really have to call the first two removeAttribute methods as
invalidate() is supposed to remove all attributes.
brian
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 31, 2000 8:23 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Logout
Hello,
I am using JRun 3.0's "Basic user authentication" mechanism to validate a
user.
Is there a way to logout a user on clicking a "log out" button...i mean a
way to logout a user
other than closing the browser or the session time itself getting over???
--niraj.
_________________________________________
Niraj Londhe
Senior Systems Engineer.
Nokia Networks, Helsinki.
Email : [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
Phone number : 09 5116 3556.
----------------------------------------------------------------------------
--
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe:
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe'
in the body.
------------------------------------------------------------------------------
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the
body.