Click here to Skip to main content
15,895,011 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,

I need to change my web site url of the website with login page as start up page.

Once I debug, I will have the url as http://localhost:3478/now/login.aspx

So, a user enters his/her cridentials, when he/she succesfully logged in, they will be

redirected to another page. That page url should be named as username.sample.aspx.

His/her username should be at the starting side i.e., if a user named john enters his

cridentials, url should look like john.sample.com (Sample is my project name)

Can anyone help please?
Posted
Comments
Bhargav.456 3-Nov-12 6:21am    
Thank You, Can we implement in any other way other than membership provider? If yes, could you please tell me.

1 solution

If you implement Membership, then it will all be handled for you.
Normally, the user will try to go to a page - your home page for example - and be redirected to the log in page. When he has logged in, he is then taken to the page he was originally seeking.

See here: Introduction to Membership[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900