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" <ch**********@yahoo.comwrote in message
news:11********************@i42g2000cwa.googlegrou ps.com...
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="?" />