Thursday, March 22, 2012

Login help

hi...
i've created a login user control and put it on my web form, but now iwanted to know how can i get the web form to recognize when the loginas already been made so it stops showing the login user control andinstead shows a welcome message...
I'm guessing i'll have to use session variables to recognize if theuser is still logged in or not, but i'm kind of a noob and i can't seemto find the best way to do this...
All help is welcome
thx in advance...
You can always write a bit of code that changes the content based on the Page.User.Identity.IsAuthenticated property.

Logged in users will be authenticated. Others won't.

0 comments:

Post a Comment