I'm trying to execute one simple login authotication program using JDBCRealms. I wrote one program it was asking user name and password when i run first time, next time onwords it was not asking username and password. I restarted tomacat but no use, but if i restart my machine then if i run that application it will ask (Because it is first firm time). i tried using session.invalidate(),session.setMaxAge() and session timeout in dd(deployment discriptor) but i didn't get solution.So please help me how it is storing sessions ? where it is storing sessions? and how can i kill that sessions?
Helpful hint: We have a "Code" button on the message editor. It lays down special text tags that can be used to wrap pre-formatted text such as Java code and XML and make it more readable.
The session information is stored in the TOMCAT_HOME/work directory, I believe. For best results, I like to clean out the work, temp, and logs directory before starting Tomcat. Also, if I am deploying a WAR file, I remove the exploded WAR from the webapps directory, since a newer WAR file will not replace older/obsolete exploded WAR directory.
Customer surveys are for companies who didn't pay proper attention to begin with.