Re: Detecting Expired Session via JavaScript?

2015-12-02 Thread Christopher Schultz
Jerry, On 12/1/15 2:39 PM, Jerry Malcolm wrote: > On 12/1/2015 12:17 PM, Jose María Zaragoza wrote: >> >> ts automatically resets the session timer. >> Only if the request goes to the same application. >> You can create a HttpSessionListener who saves some info on a shared >> store when session

Re: Detecting Expired Session via JavaScript?

2015-12-02 Thread Christopher Schultz
Jerry, On 12/1/15 3:11 PM, Jerry Malcolm wrote: > On 12/1/2015 1:28 PM, Christopher Schultz wrote: >> Jerry, >> >> On 12/1/15 12:30 PM, Jerry Malcolm wrote: >>> I'm looking for a way to detect that the current session has expired (or >>> logged out via another tab on the browser). I know I could

Re: Detecting Expired Session via JavaScript?

2015-12-02 Thread tomcat
On 02.12.2015 16:55, Christopher Schultz wrote: Jerry, On 12/1/15 2:39 PM, Jerry Malcolm wrote: On 12/1/2015 12:17 PM, Jose María Zaragoza wrote: ts automatically resets the session timer. Only if the request goes to the same application. You can create a HttpSessionListener who saves some

Detecting Expired Session via JavaScript?

2015-12-02 Thread Terence M. Bandoian
On 12/1/2015 11:30 AM, Jerry Malcolm wrote: I'm looking for a way to detect that the current session has expired (or logged out via another tab on the browser). I know I could just issue dummy requests to the server and see if a login page comes back. But issuing requests automatically

Re: Detecting Expired Session via JavaScript?

2015-12-01 Thread Jerry Malcolm
Chris, On 12/1/2015 1:28 PM, Christopher Schultz wrote: Jerry, On 12/1/15 12:30 PM, Jerry Malcolm wrote: I'm looking for a way to detect that the current session has expired (or logged out via another tab on the browser). I know I could just issue dummy requests to the server and see if a

Detecting Expired Session via JavaScript?

2015-12-01 Thread Jerry Malcolm
I'm looking for a way to detect that the current session has expired (or logged out via another tab on the browser). I know I could just issue dummy requests to the server and see if a login page comes back. But issuing requests automatically resets the session timer. I need a benign way to

Re: Detecting Expired Session via JavaScript?

2015-12-01 Thread Jose María Zaragoza
2015-12-01 18:30 GMT+01:00 Jerry Malcolm : > I'm looking for a way to detect that the current session has expired (or > logged out via another tab on the browser). I know I could just issue dummy > requests to the server and see if a login page comes back. But issuing >

Re: Detecting Expired Session via JavaScript?

2015-12-01 Thread Jose María Zaragoza
2015-12-01 19:17 GMT+01:00 Jose María Zaragoza : > 2015-12-01 18:30 GMT+01:00 Jerry Malcolm : >> I'm looking for a way to detect that the current session has expired (or >> logged out via another tab on the browser). I know I could just issue dummy >>

Re: Detecting Expired Session via JavaScript?

2015-12-01 Thread tomcat
On 01.12.2015 18:30, Jerry Malcolm wrote: I'm looking for a way to detect that the current session has expired (or logged out via another tab on the browser). I know I could just issue dummy requests to the server and see if a login page comes back. But issuing requests automatically resets

Re: Detecting Expired Session via JavaScript?

2015-12-01 Thread Christopher Schultz
Jerry, On 12/1/15 12:30 PM, Jerry Malcolm wrote: > I'm looking for a way to detect that the current session has expired (or > logged out via another tab on the browser). I know I could just issue > dummy requests to the server and see if a login page comes back. But > issuing requests

Re: Detecting Expired Session via JavaScript?

2015-12-01 Thread Jerry Malcolm
On 12/1/2015 12:17 PM, Jose María Zaragoza wrote: ts automatically resets the session timer. Only if the request goes to the same application. You can create a HttpSessionListener who saves some info on a shared store when session is expired. Anothe REST service could check the status of the