• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 417
  • Last Modified:

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
0
jeffreyjseaman
Asked:
jeffreyjseaman
1 Solution
 
dj_alikCommented:
You are using asp:Login control?
0
 
Deepak LakkadCommented:
hi

I think following link will be helpful for you

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

- Deepak Lakkad
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

Featured Post

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now