• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

session maxinactiveinterval() method

 
naga eswar
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,

recently our application was integrated with SSO. The SSO team is providing security using LDAP and authorization and authentication by Web seal.
Our application is developed using EJBs. server is websphere.

Here my problem is that, regarding session time of my application.
from inception our application is using session maxinactiveinterval() method for session time out and also works fine.
After integrated with SSO, even time expires the application is working.

How to handle this. can anybody help me please. If we use session time out at web.xml, is it gives any difference.
 
Babu Naresh
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not sure about your scenario.

Just FYI.
When you add session time out in DD, meaning, all the sessions corresponding to the web app will expires the session based on the mentioned time interval.
If you use maxinactiveinterval() in servlet code. meaning, that particular session will be expire after mentioned time out, where as still other sessions might be active.

Thanks,
Naresh
 
manovemula vemula
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi nagaeswar ,

you can set the session time out in the web.xml also.it will work no problem will raised.
if you are using setmaxtimeout in the servlet program it self the server will give first perference to that one.
 
naga eswar
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you very much... its working by keeping session time in web.xml
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic