Current location: Hot Scripts Forums » Programming Languages » ASP.NET » can i get back UserName after logon window login dialog in asp.net


can i get back UserName after logon window login dialog in asp.net

Reply
  #1 (permalink)  
Old 06-23-05, 09:42 PM
s3ng s3ng is offline
Newbie Coder
 
Join Date: Jun 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
can i get back UserName after logon window login dialog in asp.net

i'm setting allow Digest authentication for window domain servers in IIS Authentication mode , so that i can display window login dialog when access the webform. The problem is can i get back the username (login name) and display at webform after login?

Thanks for ur all help!!
Reply With Quote
  #2 (permalink)  
Old 06-24-05, 08:12 AM
koncept
Guest
 
Posts: n/a
yes it is possible

The User.Identity.Name property will hold the username that you send from the RedirectFromLogin method. Using that will make it so you don't have to pass it between pages. It will be maintained automatically through Cookies and the Server. - wayneph
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
call window dialog component with asp.net or vb.net s3ng ASP.NET 0 06-21-05 05:54 AM
One user per username login session (to prevent username sharing) jdavis7453 ASP 4 05-07-04 10:53 AM


All times are GMT -5. The time now is 01:02 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.