Neither the constructor of CustomSession nor the constructor of WebSession is called. The error occurs much earlier, as you can see in the stack trace posted in my first post.
I think I will drop overriding the default session and work with setAttribute()/getAttribute() instead. Seems to save me a lot of trouble... -- View this message in context: http://www.nabble.com/org.apache.wicket.protocol.http.WebSession-cannot-be-cast-to-my.CustomSession-tp15480791p15539346.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]