• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

setInterval() in JSP

 
Kaustubh Hande
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
Im working with JSP in WSAD 5.0. I wanted to know if do
setInterval("action","interval in millisec") and
setTimeout("action","interval in millisec") methods keep the session active they being executed as backgroud process, even if the application is left idle for the set server session timeout??
Please help.

Thanks
Kaustubh
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I assume you're talking about the Javascript setTimeout and setInterval methods. Since these methods are executed on the client, they would have no effect on anything pertaining to the server environment (unless, of course, they generate requests to the server. IE: AJAX).
 
Kaustubh Hande
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for that reply,
Im using setInterval("method called",time in millisec);
The method that i call then uses window.showModelessDialog("PageExp.jsp","",..);
Now when the pop jsp is opens is this operation taken as a server request??
does this operation resets the server session timeout??
Please help.

Thanks
Kaustubh
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, any request made back to the server will reset your timeout.
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic