login page in asp.net

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Aug 2008
Posts: 3
Reputation: htmlforums is an unknown quantity at this point 
Solved Threads: 0
htmlforums htmlforums is offline Offline
Newbie Poster

login page in asp.net

 
0
  #1
Sep 26th, 2008
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!
Reply With Quote Quick reply to this message  
Join Date: Jul 2007
Posts: 276
Reputation: rapture has a spectacular aura about rapture has a spectacular aura about 
Solved Threads: 37
rapture rapture is offline Offline
Posting Whiz in Training

Re: login page in asp.net

 
0
  #2
Sep 26th, 2008
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
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



Tag cloud for ASP.NET
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC