Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

session timeout

 
Samanthi perera
Ranch Hand
Posts: 510
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
using setMaxInactiveInterval() set the time of session programtically and using DD session timeout are do same thing?
 
Devaka Cooray
ExamLab Creator
Marshal
Pie
Posts: 4251
227
Chrome Eclipse IDE Google App Engine IntelliJ IDE jQuery Postgres Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes. But the parameter for the setMaxInactiveInterval() expresses the interval in seconds, while it should be in minutes when used in the deployment descriptor.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic