Re: asp.net forms authentication override based on individual pages.
- From: "Nalaka" <nalaka12@xxxxxxxxxxxxx>
- Date: Thu, 12 Jul 2007 11:03:14 -0700
Hi,
The feature I like in "forms authentication" is that, it first sent to login
page, and be auto forwarded to the requested page after login.
And I noticed that this is acoomplished through a URL modification when
calling login page.
like ....
http://www.my.com/login.aspx?ReturnUrl=%2fprotectedPages%2protectedPage.aspx
I will try to simulate this URL thing... and to a manual redirect to the
login page with the requested URL.
Hope this calling login page manually will auto redirect after login to the
"original requested URL".
Question is... if this works... are there any issues that I have to worry
about?
Thanks
Nalaka
"Nalaka" <nalaka12@xxxxxxxxxxxxx> wrote in message
news:uvz$YOAwHHA.4132@xxxxxxxxxxxxxxxxxxxxxxx
Hi,
I have a asp.net application with forms authentication enabled.
Users create private (database driven) messages (pages; like a message
board) that is only viewed by logged in users.
Now I need to give the users the ability to publish these messages to the
public (if they decide the content is public safe).
Question is... is there a method to override forms authentication?
For an example; some thing like a method... where I look at the URL and
retrun true or false... so forms authentication is ignored based on this
method return value....
Basically to programatically ignore forms authentication for that request
only.
Any direction is deply appreciated
Thanks
Nalaka
.
- Follow-Ups:
- Re: asp.net forms authentication override based on individual pages.
- From: Walter Wang [MSFT]
- Re: asp.net forms authentication override based on individual pages.
- References:
- Prev by Date: Re: Identity Impersonate - Multithreading?
- Next by Date: Re: Identity Impersonate - Multithreading?
- Previous by thread: Re: asp.net forms authentication override based on individual pages.
- Next by thread: Re: asp.net forms authentication override based on individual pages.
- Index(es):
Relevant Pages
|