Skip to main content

I need to come out ofleave the application after some time of inactivity session.

I tried using session.invalidate();session.invalidate(); but it is not working as iI am using basic authenticationbasic authentication and iI redirected to a JSP page where it asks for login again but.
But it is not asking any login credentials while users directly logging in tointo the application. The only way to logout with basic authentication is to close the Webbrowser. I
I need an API such that after inactivty, say 10 mins, it should redirect to one JSP page without closing the browser. E.g. like banking sites willwhich display session"session expired, please login again

Thanks in advance, Satyaagain".

I need to come out of the application after some inactivity session I tried using session.invalidate(); but it is not working as i am using basic authentication and i redirected to JSP page where it asks for login again but it is not asking any login credentials directly logging in to application The only way to logout with basic authentication is to close the Webbrowser. I need an API such that after inactivty say 10 mins it should redirect to one JSP page without closing the browser like banking sites will display session expired please login again

Thanks in advance, Satya

I need to leave the application after some time of inactivity.

I tried using session.invalidate(); but it is not working as I am using basic authentication and I redirected to a JSP page where it asks for login again.
But it is not asking any login credentials while users directly logging in into the application. The only way to logout with basic authentication is to close the Webbrowser.
I need an API such that after inactivty, say 10 mins, it should redirect to one JSP page without closing the browser. E.g. like banking sites which display "session expired, please login again".

Source Link
Satya
  • 11
  • 2
  • 3

logout with basic authentication without closing webbrowser like banking sites will display

I need to come out of the application after some inactivity session I tried using session.invalidate(); but it is not working as i am using basic authentication and i redirected to JSP page where it asks for login again but it is not asking any login credentials directly logging in to application The only way to logout with basic authentication is to close the Webbrowser. I need an API such that after inactivty say 10 mins it should redirect to one JSP page without closing the browser like banking sites will display session expired please login again

Thanks in advance, Satya