• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JDBC realm with Sessions please help

 
Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I found a work around, thanks anyways
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic