This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JDBC realm with Sessions please help  RSS feed

 
Prem Khan
Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 189
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found a work around, thanks anyways
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!