Force to login page first

  • Thread starter Thread starter Grey
  • Start date Start date
G

Grey

I have many aspx files in an web application. Is it possible to enforce the application to divert to login page first even though the user type the URL directly in the IE??

Million Thanks.
 
Grey,

Absolutely. If you look up <authentication> element in the documentation you'll find that its pretty easy to set that up.

I have many aspx files in an web application. Is it possible to enforce the application to divert to login page first even though the user type the URL directly in the IE??

Million Thanks.
 
yes there is

check out forms authentication.
I have many aspx files in an web application. Is it possible to enforce the application to divert to login page first even though the user type the URL directly in the IE??

Million Thanks.
 
Use Forms Authentication. It's sufficient for basic needs and can usually be extended for more advanced needs.
Here's more info:
http://www.dotnetbips.com/displayarticle.aspx?id=9
http://www.4guysfromrolla.com/webtech/121901-1.2.shtml
http://www.dotnetbips.com/displayarticle.aspx?id=117

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
Hire top-notch developers at http://www.able-consulting.com


I have many aspx files in an web application. Is it possible to enforce the application to divert to login page first even though the user type the URL directly in the IE??

Million Thanks.
 
In your login page, set a session variable. If the user opens a different page first, and the session variable doesn't exist, refer them to the login page and then let the login page run the user through the authentication mechanism.

Dale

I have many aspx files in an web application. Is it possible to enforce the application to divert to login page first even though the user type the URL directly in the IE??

Million Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top