Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Session Timeout setting??

 
Kumar Navin
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi! Friends,
Am new to OAS and am using 9i. A user gets logged out of the application automatically after 10 mins of inactivity. I found on net that tag <session-timeout>value in mins</session-timeout> needs to be set in web.xml file. I entered the same in the web.xml file of my application, but didn't work.
Can anybody tell me what to do and where lies the appropriate file??
Thanks,
-Navin.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34408
346
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Navin,
web.xml is the appropriate file. Did you restart the app after changing the file?

Also, are you using any security? The login prompt for security has a different setting than the sesson timeout.
 
Kumar Navin
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi! Jeanne,
I did restart the app, but in vain. Am not using any security. It's just a simple login.jsp which the user fills in and submits. A servlet is called which instantiates a bean, authenticates the user and redirects it to the appropriate page. That's it.

-Navin.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34408
346
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Navin,
How are you testing that "it doesn't work"?

I'm moving this to our Servlets forum since it isn't an Oracle specific question. (web.xml is the same regarless of your application server)
 
Mike Nightsky
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you instantiate the session you could set each session its own time to live
 
Pratapchandran Ramakrishnan
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is web.xml. How web.xml works.
 
Pratapchandran Ramakrishnan
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is web.xml. How web.xml works.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic