Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Handling Session Time out  RSS feed

 
Manjunath Rajashekar
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using the below code to handle session time but both the time ie actual time and sessionlastacessed time are same what i shd do solve my problem can body help me

 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think that is the expected behavior.

The reason being that you are examining a request that the user just generated which the container matched up with the session and set the last accessed time to the current time.

Session time out is best handled by the container.

Bill
 
Nauman Hasan
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not sure what you are trying to do... as Bill said session timeout is best handled by the container.

Your code looks like it is creating a session for the user:



~Nauman

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!