File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes Session time-out Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Session time-out" Watch "Session time-out" New topic

Session time-out

l suresh

Joined: Mar 09, 2006
Posts: 15
Hi All,

i am calling a procedure through front end.the procedure is taking 2 hours to complete.But i have specified session time out of 50min.After the procedure completes it displays Session timed out.But i want to show that procedure is completed.

pls help me regarding this.

Thanks in Advance,
Muhammad Saifuddin
Ranch Hand

Joined: Dec 06, 2005
Posts: 1321

I thought there is a time constraints inside session timeout. don't know what the maximum value you can set.

but this complain would be handle by program to update session timeout value.

here i got example from Eric's weblog (Moderator of HTML/JavaScript in JavaRanch).

hope my post will not worthless for you..

[Blog][Linkedin] How To Ask Questions On JavaRanch My OpenSource
l suresh

Joined: Mar 09, 2006
Posts: 15
Hi Saif uddin,

If that works then i want that to be implemented in javascript not in Ajax.

Thanks in Advance,
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

Ajax is implemented in Javascript.

A user shouldn't have to keep their browser open for 2 hours while waiting for something to run. If something takes that long to run, let the user kick it off and leave. When it's done, send them an email letting them know where they can pick up the results. In addition, there should be a page where users can go to see the status of their running processes.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
l suresh

Joined: Mar 09, 2006
Posts: 15
Hi Ben,

For not getting session timed out,i created one popup window in that window i removed session.i have written banner in JavaScript.but i coudln't able to see the banner that procedure is running.

Thanks in Advance,
I agree. Here's the link:
subject: Session time-out
Similar Threads
Spring security and session management without using spring MVC module
guide me to write scjp
Stored Procedures and EJB
SP not being called successfully in a J2EE app
Firefox window open on unload