• Post Reply Bookmark Topic Watch Topic
  • New Topic

session Problem.

 
ayyappan Bas
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am using this code

<meta http-equiv="refresh" content="<%= session.getMaxInactiveInterval() %>;url=index.jsp">

and Xml
<session-config>
<session-timeout>1</session-timeout>
</session-config>
its working fine.but above the coding automatically page is expire even if user is accessing Application..

only if user not accessing page for 1 min page should be expire else session should be active.
 
Amit Ghorpade
Bartender
Posts: 2856
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What you are saying is not possible. The session will expire after the specified time is over.
Also please consider making your subject line more descriptive. Read this to know why this is important. You can edit your post by clicking the .
Anyways I think your approach to the problem is wrong something similar like this thread .

There may be a better solution to this problem and you will come to know that only if you tell what exactly you are trying to do.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!