Thanks!

So the way I use the interceptor is right?

Nothing have to be changed except saving the session id intead of sessin it
self?

2010/12/3 Li Ying <[email protected]>

> I read your code, and noticed one thing.
>
> You saved the whole HttpSession instance in Map, this will waste memory.
>
> The information you really need is just the SessionID, but not the
> whole Session.
>
> SessionID can be retrieved from HttpSession.getId();
>
>
> See:
>
> http://download.oracle.com/javaee/5/api/javax/servlet/http/HttpSession.html#getId%28%29
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to