Easy question

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am very very new to ASP .Net developement and am all self-taught. I have
been programming Windows vb forms for a while however. I know this is a
stupid question. I have my home page and some other pages. But once a user
logs in and the password validated, how do I redirect to another page?

Thanks for the help.
 
This will work, but I believe it requires a round trip to the client.
the Server.Transfer("newpage.aspx") is more efficient and does the
transfer before the page is sent to the client.

I hope this helps

Mike Douglas

www.doitconsultants.com
 
Both methods have their pros and cons. They have been discussed here at
length. Google the newsgroups for more info.

Eliyahu
 
I am very very new to ASP .Net developement and am all self-taught. I have
been programming Windows vb forms for a while however. I know this is a
stupid question. I have my home page and some other pages. But once a user
logs in and the password validated, how do I redirect to another page?

Thanks for the help.

Other folks answered that question, but another arises. Do you know
how to keep users from going directly to the other pages bypassing the
login page? If not, look up Forms Authentication.
 
Yes, I have seen that, but I do need to read up more on it. I am aware of
forms authentication. Currently I am storing user IDs and passwords in a SQL
database. Also, this site currently is just internal and is being written
and tested internally. When we know that it is working and security is
apporpriate, then we will be publishing it to the web.

Thanks for the information.

Brad
 
Back
Top