• 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
Marshal
Posts: 5178
495
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
Boost this thread!