You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Stefan <st...@wammel.com> on 2009/07/23 18:05:26 UTC
Session lost when cookies disabled?
Hi,
i've implemented authorization via dispatcher and page annotations as
described in the Wiki.
Everything works fine as long as cookies are enabled.
If i disable them, the JSessionID will be appended to all url's as
expected,
but nevertheless the session could not be found / rebound to requests.
So every request results in a redirect to the login.
What i'm doing wrong here?
Thanks,
Stefan
Re: Session lost when cookies disabled?
Posted by Sergey Didenko <se...@gmail.com>.
Sorry, I was wrong.
In my case the problem was that "redirectTo" url was created before session.
And thus before putting jsessionid in url. So the login was working fine -
it was appending "jsessionid" to the url and then my code was redirecting to
the old "redirectTo" url without "jsessionid".
On Mon, Jul 27, 2009 at 9:52 AM, Sergey Didenko <se...@gmail.com>wrote:
> I have the same bug.
>
> I tried to catch it.
>
> It seems that ApplicationStateManager does not trigger url based session
> tracking when setting a session object from a service. But it works ok if
> there a "write" to session from a component.
>
> I will create a JIRA if there is no objections.
>
> Regards, Sergey.
>
Re: Session lost when cookies disabled?
Posted by Sergey Didenko <se...@gmail.com>.
I have the same bug.
I tried to catch it.
It seems that ApplicationStateManager does not trigger url based session
tracking when setting a session object from a service. But it works ok if
there a "write" to session from a component.
I will create a JIRA if there is no objections.
Regards, Sergey.