Results 1 to 3 of 3

Thread: FormsAuthentication obtaining user name

  1. #1

    Thread Starter
    Fanatic Member carlblanchard's Avatar
    Join Date
    Sep 2003
    Location
    Bournemouth (UK)
    Posts
    539

    FormsAuthentication obtaining user name

    Hi I am using FormsAuthentication in my application and i need to grab the user who is logged in on a certain page, is it possible to get the username from FormsAuthentication or would i have to sent another cookie/session once they have logged in ?

    thanks in advance
    I am curretly building a defect management system for software and web developers,
    If you wana try it out (beta test) and keep it for free just send me a message

  2. #2
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704

    Re: FormsAuthentication obtaining user name

    Normally you set the user name with the authentication ticket - so you can easily grab it from the ticket anytime later.

    http://msdn.microsoft.com/library/de...snametopic.asp

  3. #3

    Thread Starter
    Fanatic Member carlblanchard's Avatar
    Join Date
    Sep 2003
    Location
    Bournemouth (UK)
    Posts
    539

    Re: FormsAuthentication obtaining user name

    thanks mate

    jobs a gooden
    I am curretly building a defect management system for software and web developers,
    If you wana try it out (beta test) and keep it for free just send me a message

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width