Re: How to redirect any page to Login.aspx? I tried but...
- From: "Cowboy \(Gregory A. Beamer\)" <NoSpamMgbworld@xxxxxxxxxxxxxxxxxx>
- Date: Wed, 9 Aug 2006 10:16:30 -0500
Do you want role based access? If so, you need to set up the roles (either
the ASP.NET provider -- assuming 2.0 or a custom membership provider (you
code it)), you will have to set them up and then configure correctly.
Once you are logged in, you should be able to hit the page over and over
again.
If, instead, you mean.
1. Log in
2. Shut down browser
3. Hit page and served without login
Then, you need to turn off the persistent cookies with your
RedirectFromLoginPage() in the login.aspx page.
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
*************************************************
Think outside of the box!
*************************************************
"Big Charles" <cherediatech@xxxxxxxxx> wrote in message
news:1155134830.509995.7400@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thank you. That works partially.
If I type:
http://localhost/MyPath/WebForm1.aspx
Now I am redirecting to wf_login.aspx
However, after I login to the website typing:
http://localhost/MyPath/wf_login.aspx
if I type this on the address:
http://localhost/MyPath/WebForm1.aspx
I can access !
Winista wrote:
Change this to...
<deny users="?" />
.
- References:
- How to redirect any page to Login.aspx? I tried but...
- From: Big Charles
- Re: How to redirect any page to Login.aspx? I tried but...
- From: Winista
- Re: How to redirect any page to Login.aspx? I tried but...
- From: Big Charles
- How to redirect any page to Login.aspx? I tried but...
- Prev by Date: Re: Dynamically Populate Web Page Values
- Next by Date: Re: Which is better Grid or Table
- Previous by thread: Re: How to redirect any page to Login.aspx? I tried but...
- Next by thread: Globalization: Non-English characters
- Index(es):
Relevant Pages
|