Ask a Question related to ASP.NET Security, Design and Development.
-
mortb #1
Please help: Forms authentication & new session -> does not return to the specified page after login
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
mortb Guest
-
Strange problem with Forms authentication: After successfull login, login page is still displayed
Hi there I have a quite strange problem with my ASP.NET-Application. The application has being deployed one year ago and worked fine till last... -
Forms Authentication won't redirect to login page
I'm trying to set basic form authentication on a webapp. I allaccess restricted to authenticated users. After changing theWeb.config file in the... -
Forms Authentication without Login Page
Is there any way to log someone in using Forms authentication *without* using RedirectFromLoginPage()? My reason for asking is that I'm trying to... -
Forms Authentication: login page in a separate web app
Hi, I would like to create a WebApp, say MySecurityProvider, that just contains a login page that knows how to authenticate a user. And I want... -
Authentication forms and SSL on the login page
Hi all, I'm tryiing to set up security for a ASP.NET web application in order to force all the users to go to a login page with an SSL connection.... -
Deepak Ramakumar #2
Re: Please help: Forms authentication & new session -> does not return to the specified page after login
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
>
Deepak Ramakumar Guest
-
mortb #3
Re: Please help: Forms authentication & new session -> does not return to the specified page after login
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
>>
>
mortb Guest
-
mortb #4
Re: Please help: Forms authentication & new session -> does not return to the specified page after login
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
>>>
>>
>
mortb Guest



Reply With Quote

