custom authentication and Request.isAuthenticated

Discussion in 'ASP .Net' started by =?Utf-8?B?ZG90bmV0dGVzdGVy?=, Dec 14, 2005.

  1. Hi,

    I am working on an application and want to set a cookie so that
    on a page when I check 'Request.IsAuthenticated', it would give me the
    correct value.

    How can I set the Authentication cookie?
    I tried...
    FormsAuthentication.SetAuthCookie("myUserName", false);
    after the user has successfully been authenticated, but it doesn't work.

    Pls help
    =?Utf-8?B?ZG90bmV0dGVzdGVy?=, Dec 14, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Nick
    Replies:
    0
    Views:
    454
  2. Nick
    Replies:
    0
    Views:
    575
  3. Bob
    Replies:
    1
    Views:
    11,922
    Joe Fallon
    Apr 29, 2004
  4. ChInKPoInt [No MCSD]
    Replies:
    0
    Views:
    793
    ChInKPoInt [No MCSD]
    Dec 4, 2004
  5. Johnnie Norsworthy
    Replies:
    2
    Views:
    551
    Johnnie Norsworthy
    Nov 15, 2005
Loading...

Share This Page