Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > How do I display the name of the user who logged into site?

Reply
Thread Tools

How do I display the name of the user who logged into site?

 
 
Learner
Guest
Posts: n/a
 
      03-07-2006
Hello,
I have a default.aspx page and there is Login control on it. Once I
login, I need to bring up SearchPage.aspx and I should display who
logged in on every page through out the site I navigate to. Currently
its like this , when I click on the Login link on the default.aspx page
its turning into Logout link and that is it and it doesn't any thing
other turning out to Logout. I am not sure if I need to handle this in
the code behind page caputure who logged and and display that name and
then redirect to the page I want to go to. But I have no clue how do I
it and what events it raises when I click on Login.


I am using a Master page and all of pages are the content pages and go
into the ContentPlaceHolder which is on the right side (I have selected
Header and Side table template layout on the master page. All links
will be displayed on the left side and the content goes to the right
pane) pane of the Master page.

In my scenario where do I put my login.aspx (which has LogIn Control on
it)? For now I created it as a regular page in other words its not
associated with the Master page. Do I need to create this login.aspx as
a content page to the Master Page in order to display logout link on
the master page instead of having it displayed on each page?



Could some one help me to provide some input on this how do I do it?

Thanks
-L

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
How can I display the name of the logged in user Sam ASP .Net Security 4 06-13-2007 06:21 PM
Serious issue: parts of my page render as not logged in, parts as logged in. Help! pcloches@gmail.com ASP .Net 1 04-12-2007 12:50 AM
LoginView does not show a logged in user as being logged in keithb ASP .Net 0 02-16-2006 05:20 PM
Getting Logged in User Name Ganesh Ramamurthy ASP .Net 3 12-08-2004 12:04 PM



Advertisments