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!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.