login and logout in asp.net using c#

Posted by Rcsp under ASP.NET on 8/2/2013 | Points: 10 | Views : 1412 | Status : [Member] | Replies : 1

In webform, i am having login linkbutton, (logout linkbutton should be hide @ this point of time)

when click the login linkbutton, I want the loginpage

when I give the login credentials, i want welcome + username in default.aspx with logout linkbutton instead of login linkbutton (should be hide till when the user click the logout linkbutton)

can anyone provide solution for the above scenario?



Posted by: aswinialuri-19361 on: 8/2/2013 [Member] Starter | Points: 25

i understand your query
Resppnse.redirect("loginpage.aspx"); in link button click event
In login page place a login button and give sessions
sessions will transfer the data from one page o another page

If you get any doubt about this raise a query

Mark as Answer if it helps you
Aswini Aluri

Rcsp, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response