Hi,
I am writing a WebApp using websockets, based on Erel's WebApp Overview ServerExample
using login and the members filtering.
I need a way to force the user to re-login into the WebApp if he navigates beyond the scope
of my Application (Browser's Home pressed or Browser's Back pressed etc).
The way the WebApp functions now is, if the User navigated away from my Application's URLs
lets say to www.google.com and later decides to use the browsers back functionality he will
eventually be able to display the WebApps last page used and continue as it were.
I would like to avoid that by somehow detecting that he navigated off the WebApps scope
and reset either the session's attribute 'registered' to false or by disconnecting the session
all together.
Regards
Chris
I am writing a WebApp using websockets, based on Erel's WebApp Overview ServerExample
using login and the members filtering.
I need a way to force the user to re-login into the WebApp if he navigates beyond the scope
of my Application (Browser's Home pressed or Browser's Back pressed etc).
The way the WebApp functions now is, if the User navigated away from my Application's URLs
lets say to www.google.com and later decides to use the browsers back functionality he will
eventually be able to display the WebApps last page used and continue as it were.
I would like to avoid that by somehow detecting that he navigated off the WebApps scope
and reset either the session's attribute 'registered' to false or by disconnecting the session
all together.
Regards
Chris