Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat 4.0.1- Force a login screen after re-start?

 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found out that the default session-timeout is 30 mins. However, when I stop the server and start it again, I was expecting to see a login screen again. But I don't get the username/password screen.
I am using "BASIC" for auth-method. What should I do to force a login after a restart of the server (say stop server, wait for a minute and start server).
Thanks.
- satya
 
sun ram
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It requires to restart the browser. Is there any other way we can do this!!!
-SR
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yup, looks like thats the only way. Just located and read the relavent section in More Servlets and JSP.
Thanks, again.
- satya
 
Ashik Uzzaman
Ranch Hand
Posts: 2373
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Satya,
I have been using form login authentication successfully where i had to create the form and configure the web.xml file only....and interested to know how do you solve the problem you are in now.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic