Hi all, I have an application where I set cookies with the app's context + mountedPageUrl as the cookie's path. Something like this: 'wicket-sandbox/pageA'
Work's fine out of the box. Now I want to have a SessionExpiredPage. According to this https://issues.apache.org/jira/browse/WICKET-4014 I simply have to set setRecreateBookmarkablePagesAfterExpiry(false). But now all of my Ajax-/Listener-URLs don't use their mounted page URLs anymore, but a generic 'wicket/page'. So before, they look like: http://localhost:8081/wicket-sandbox/pageA?2-1.IBehaviorListener.0-increment&_=1465988637772 Now they look like: http://localhost:8081/wicket-sandbox/wicket/page?1-1.IBehaviorListener.0-increment&_=1465988144642 So it is not possible to get or differentiate between the cookies. I tried debugging it, but I do not see where I can change this behavior because at the point where the application decides on which IPageRequestHandler to use (/see Component.class, method createRequestHandler(RequestListenerInterface listener, PageParameters parameters, Integer id)/), it does query the getRecreateBookmarkablePagesAfterExpiry() method (which returns false) and uses a ListenerInterfaceRequestHandler instead of an BookmarkableListenerInterfaceRequestHandler. Any ideas on how I can get this working? Kind regards, Ravi I am using wicket 7.2.0 -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Implications-of-setRecreateBookmarkablePagesAfterExpiry-tp4674899.html Sent from the Users forum mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
