954,595 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

login page in asp.net

Hi,
I have 2 pages in the web application, one is login.aspx and another is user.aspx. When user type the address login.aspx then it will let user keyin user and password. If the password correct, then goto user.aspx page. But, my problem now is, if let say the user don't type the address of login.aspx, they directly type user.aspx , then it still can goto user page. So, how to actually prompt user for the password (means goto login page) even they type the user.aspx page ?

Thanks!

htmlforums
Newbie Poster
3 posts since Aug 2008
Reputation Points: 10
Solved Threads: 0
 

I've used VB.Net code with windows authentication but nothing else - have you tried using the login controls?

http://msdn.microsoft.com/en-us/library/ms178329.aspx

rapture
Posting Whiz in Training
294 posts since Jul 2007
Reputation Points: 155
Solved Threads: 41
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You