I have updated to 6.12 (without any pane, fantastic... I cannot believe
that it was so easy)
Thanks a lot now it works
Cheers
Dirk
Am 16.11.2013 14:05, schrieb Francois Meillet:
> Update to the 6.12 version or follow Ernesto's advice or write your own
> HttpSessionStore.
>
> François Meillet
Update to the 6.12 version or follow Ernesto's advice or write your own
HttpSessionStore.
François Meillet
Formation Wicket - Développement Wicket
Le 16 nov. 2013 à 13:17, Dirk Wichmann a écrit :
> sorry, there is no methode onInvalidate() to overwrite??
>
> not in AuthenticatedWebSessio
sorry, there is no methode onInvalidate() to overwrite??
not in AuthenticatedWebSession or WebSession or in Session (I use Wicket
6.1)
Am 16.11.2013 12:47, schrieb Francois Meillet:
> In this case, override the onInvalidate() method in your custom session.
>
> from the api :
> onInvalidate is a
In this case, override the onInvalidate() method in your custom session.
from the api :
onInvalidate is a callback method that is executed when the user session is
invalidated
either by explicit call to {@link org.apache.wicket.Session#invalidate()}
or due to HttpSession expiration.
François M
Maybe bind sessionId with user ID when session is created? on a persistence
storage? So that you can recover user ID with the session Id
On Sat, Nov 16, 2013 at 12:19 PM, Dirk Wichmann wrote:
> Thanks, that works, but how can I get my WebSession Object??
> In there the user is stored and I need
Thanks, that works, but how can I get my WebSession Object??
In there the user is stored and I need the id of the user.
WebSession.get() does not work
Thanks in advance
Dirk
Am 16.11.2013 11:04, schrieb Francois Meillet:
> You can write a unboundListener and register it in your sessionStore.
> T
You can write a unboundListener and register it in your sessionStore.
This code should be in your application init()
getSessionStore().registerUnboundListener( new ISessionStore.UnboundListener() {
@Override
public void sessionUnbound(String sessionId) {
// logout t
Hi all,
it's quite frustrating, a simple thing gets complicated.
I have a Webapp with login page and logout button.
If the user clicks the logout I write a logout timestamp in the database.
Now I want to write the same timestamp when the session expires.
Only thing I have found on the Web is to us