aspose file tools*
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
Author

Session time-out

l suresh
Greenhorn

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,
suresh.
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).

http://radio.javaranch.com/pascarello/2005/07/05/1120592884938.html

hope my post will not worthless for you..


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

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,
Suresh.
Ben Souther
Sheriff

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
Greenhorn

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,
Suresh.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Session time-out