[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
avoid client refresh after timeout  XML
Forum Index -> Development
Author Message
bzeuner

Power User

Joined: 28/02/2011 17:12:24
Messages: 59
Offline

Hi,

is there a possibility to avoid or forbid a client refresh if a session timeout occured?
My problem is that we log in to the server with a client certificate (tomcat handles the authentication process) and if the session timed out the user will be logged in again automatically. But that is a security problem since the user may already had left his desk. If there would be no automatically refresh and no chance to refresh over a button that would be very helpfull
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5521
Offline

Hi,

...but the relogon is done with a new session. Couldn't you react accordingly - by e.g. finding out that the session is not authorized yet?

Answer to your question: you can setup an own "Error Screen" by registering an implementation of interface "ILocalErrorScreenProvider" (This is is a client interface.). The error screen is just a normal XML page. The default implementation is DefaultErrorScreenProvider.


Regards, Björn


Björn Müller, CaptainCasa GmbH
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team