wood burning stoves*
The moose likes Tomcat and the fly likes JDBC realm with Sessions please help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "JDBC realm with Sessions please help" Watch "JDBC realm with Sessions please help" New topic
Author

JDBC realm with Sessions please help

Prem Khan
Ranch Hand

Joined: May 30, 2005
Posts: 189
I have a tomcat server with jdbc realm for security. When my session exspires or the user has to log in again, all my sessions are messed up and bad data shows on my forms that I have no idea why its there.

i have an if session.isNew() redirect to the start page, but the problem is that when a page is requested, my jdbc realm kicks in and makes a session for logging in so, all my session data is lost, and still is not new so it displays a page it should not.

any ideas ? Is is the session expiring the event that triggers a new jdbc realm log in ?
Prem Khan
Ranch Hand

Joined: May 30, 2005
Posts: 189
I found a work around, thanks anyways
 
wood burning stoves
 
subject: JDBC realm with Sessions please help
 
Similar Threads
Clearing the session.
JSP and Session Management
EJB, JDBC Realm, Session tracking
Glasfish: JDBC Realm and Session Tracking.
[Newb] How to reuse attributes