How to create Login and Logout status asp.net

Hi,

I setup my own login on vb.net page that relies on SQL Database. I'm using Session Variable to detect the username. I want to have a caption id at top that is login and logout when the user logs in. Have this on a site.master page.

How can I do this? Thanks
jeffreyjseamanAsked:
Who is Participating?
 
Deepak LakkadCommented:
hi

I think following link will be helpful for you

http://www.4guysfromrolla.com/articles/062508-1.aspx

- Deepak Lakkad
0
 
dj_alikCommented:
You are using asp:Login control?
0
 
jeffreyjseamanAuthor Commented:
Yes I am using the control but I'm not using Microsofts membership. I wrote my own login code. I want to use session("variable") if = username then display logout else have it display login.

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.