You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@shiro.apache.org by Nagaraju Kurma <na...@enhancesys.com> on 2013/07/29 11:46:11 UTC

Re: how to stop shiro session creation before user login

On Mon, Jul 29, 2013 at 3:15 PM, Nagaraju Kurma <
nagaraju.kurma@enhancesys.com> wrote:

> i am using shiro with spring mvc, at the time of login page generation
> only shiro is creating the session and appending jsession id to the url.
>
> i dont need this behaviour, only after successfull user login i need to
> create a session...!
>
> is there any hook to add or any customization to achive this?
>
>
> already tried by adding entry in conext.xml --->
>
> <               disableURLRewriting="true">
>
> in we.xml  -------->
>
> <tracking-mode>COOKIE</tracking-mode>
>
> programmaticaly --------->
>
>
> servletContext.setSessionTrackingModes(EnumSet.of(SessionTrackingMode.COOKIE));
>
>
>
> can any one assist here?
> --
>
> thanks & Regards,****
>
> Nagaraju.
>



-- 

Regards,****

Nagaraju.