• Post Reply Bookmark Topic Watch Topic
  • New Topic

Session Timeout between different web applications

 
Raj Kanth
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have two web applications deployed under Tomcat under two different contexts, say /foo and /bar and i gave the session timeouts as 30 mins for /foo and 30 mins for /bar.
Now the problem i have is when i invoke /bar from /foo and say after 30 mins if i am still working in /bar, the session for /foo gets invalidated because it time out (remember it set to 30 mins).
My question is , is there way to have the app with context /foo not timeout unless /bar timed out ?
I would appreciate if anyone could help me out with this.
Thanks in advance
 
Bish Ach
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The link below may be useful to u
http://www.amia.org/pubs/symposia/D005855.PDF
[ November 05, 2003: Message edited by: Bish Ach ]
 
Raj Kanth
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Bish
Thanks for the reply, the link which u sent is helpful but what i couldnt get from it is, how can i get the LastAccessTime of the session in /foo context when the user is working on /bar context.?
can i somehow iterrupt the session invalidate in /foo and check the lastaccessedtime of /bar and then call session invalidate on /foo ?
Thanks
R
 
santosh venkat
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Raj Kanth wrote:I have two web applications deployed under Tomcat under two different contexts, say /foo and /bar and i gave the session timeouts as 30 mins for /foo and 30 mins for /bar.
Now the problem i have is when i invoke /bar from /foo and say after 30 mins if i am still working in /bar, the session for /foo gets invalidated because it time out (remember it set to 30 mins).
My question is , is there way to have the app with context /foo not timeout unless /bar timed out ?
I would appreciate if anyone could help me out with this.
Thanks in advance


Hi Rajkanth,
If you find solution for this can suggest me. I have also same requirement with 4 modules, the problem is if I am accessing one module remaining 3 modules session getting expired. how to maintain session. we are using crosscontext="true"
please share the information.

Thanks in advance
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!