aepelde wrote:
> 
> I'have implemented a custom MySession session object and create an
> instance when my application's newSession method is called. Something
> simple like this:
> 
> public Session newSession(Request request, Response response) {       
>       MySession session = new MySession(request);
> }
> 
> Now I need to get this session's ID, but I don't know how to do it. Any
> idea?
> 
> 

You could call session.getId(). That will return null if there's not actual
web session associated; if you want to force using a web session, call
session.bind() first.

Adrian
-- 
View this message in context: 
http://www.nabble.com/Session-ID-tp20175225p20175821.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]

Reply via email to