Click here to Skip to main content
15,911,139 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello programmers.

i have a problem in viewing my home page.
i have a log in page.

when i successfully log in. it will redirect to my other page.

my problem is.
i want to show on that page my user id and my name.

hope you can help.
thank you! :)


-chaosgray-
Posted
Comments
Sergey Alexandrovich Kryukov 8-Jun-11 23:30pm    
Not clear what's the problem.
--SA
chaosgray 9-Jun-11 0:18am    
the problem is, my userid and name did not appear in my other page.
Sergey Alexandrovich Kryukov 12-Jun-11 18:15pm    
If this is ***your*** page, you write whatever you want. Do I miss something?
--SA
jayantbramhankar 9-Jun-11 0:20am    
Save your userid in session or cookie
chaosgray 9-Jun-11 0:25am    
i already use that.

You need to read on Login page design. Using MS login control released in ASP.NET2.0 will give you all needed features like display name directly.

Look here:Traditional Login page design discussion[^]

Login Controls that were released by Microsoft, have a look at them here[^].

For, building Login Page using Login control, look:
How to: Create an ASP.NET Login Page[^]
ASP.NET Login Controls Overview[^]
How to add a Login, Roles and Profile system to an ASP.NET 2.0 [^]
 
Share this answer
 
Comments
Monjurul Habib 9-Jun-11 17:39pm    
nice links, my 5.
Sandeep Mewara 9-Jun-11 23:28pm    
Thanks Monjurul.
chaosgray 12-Jun-11 6:03am    
thank you. :)
Use the LoginName or LoginView control .
 
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