I guess you should look at session.invalidate();.

BR

Soren

-----Oprindelig meddelelse-----
Fra: amit varshney [mailto:[EMAIL PROTECTED] 
Sendt: 24. januar 2004 12:47
Til: [EMAIL PROTECTED]
Emne: Problem using Tomcat User Authentication 


I am working in JSP/Servlets on Windows XP.
I want to use the Tomcat user Authentication in my web application. So
using
tomcat's JDBC Realm I have stored the username and passwords in the
Oracle 9I
Database.

I want to use authentcation for accessing the different modules. so I
have
created the main page on which there r links to different modules.

Using Security Costraint in the web.xml file I have made the access
restricted.so When a user clicks on a link he is asked the user name and
password. 

this works fine but the problem I am facing is that when i come back to
the main
page and click on some other link the login page is not displayed rather
there
is eror message that "the access to the requested resource is denied"

is there any way to solve this problem?

Tahnx in advance
Amit Varshney
-------------------------------------------------
Still single? Click here to find the perfect match.
 

http://www.bharatmatrimony.com/cgi-bin/bmclicks1.cgi?141

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to