Re: Please help: Forms authentication & new session -> does not return to the specified page after login
From: mortb (_at_hotmail.com)
Date: 12/03/04
- Next message: LS: "AzMan IAzApplication InitializeClientContextFromStringSid method"
- Previous message: mortb: "Re: FormsAthenticaton -- Sometimes returnurl is not set"
- In reply to: mortb: "Re: Please help: Forms authentication & new session -> does not return to the specified page after login"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 3 Dec 2004 11:47:53 +0100
Sorry my troubles seems to be due to a redirect in OnSessionStart
/mortb
"mortb" <mortb1<noospam<@hotmail.com> wrote in message
news:%23BZc58Q2EHA.2568@TK2MSFTNGP11.phx.gbl...
> That is the function that I use - but sometimes (perhaps when the login
> starts a new session?) I just get redirected to the default page of my
> application (/appName/default.aspx) and not the page which was requested
> before login.
>
>
> "Deepak Ramakumar" <dramakumar@strongtie.com> wrote in message
> news:%23WhpZ%2381EHA.1260@TK2MSFTNGP12.phx.gbl...
>> You can use FormsAuthentication.GetRedirectUrl(username,
>> persistantcookie) API to get the url of the page to be redirected to
>> after successful logon.
>>
>>
>> "mortb" <mortb1<noospam<@hotmail.com> wrote in message
>> news:eu6QjP71EHA.2192@TK2MSFTNGP14.phx.gbl...
>>> If the user is not logged in and no session is present for the user when
>>> requesting a specific page
>>> it seems that the returnurl querystring prarmeter is not set so the page
>>> does not redirect to the right page after login.
>>> I would like to know if there is anything I can do so that the page
>>> redirect correctly -- any help appreciated!
>>>
>>> cheers,
>>> mortb
>>>
>>
>>
>
>
- Next message: LS: "AzMan IAzApplication InitializeClientContextFromStringSid method"
- Previous message: mortb: "Re: FormsAthenticaton -- Sometimes returnurl is not set"
- In reply to: mortb: "Re: Please help: Forms authentication & new session -> does not return to the specified page after login"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|