HttpContext user/authentication info disappears randomly

Discussion in 'ASP .Net Security' started by Aaron Meyers, Oct 17, 2003.

  1. Aaron Meyers

    Aaron Meyers Guest

    I have a call within one web service that calls another
    web service using an authenticated connection. For some
    reason, the second web service call doesn't always get
    the user authentication info in HttpContext (i.e.,
    HttpContext.Request.IsAuthenticated is false and
    HttpContext.User.Identity.Name is blank), although it
    appears to have authenticated at least somewhat, because
    the Windows execution context (WindowsIdentity.GetCurrent
    ()) is the authenticated user (rather than service user,
    i.e. NT AUTHORITY\NETWORK SERVICE).

    I am running Windows Server 2003 (IIS 6); both web
    services are authenticated with Windows authentication
    and have impersonation turned on (authentication
    mode=Windows, identity impersonate=true).
    UnsafeAuthenticatedConnectionSharing is used for
    performance reasons (setting the ConnectionGroupName as
    recommended to make it secure).
     
    Aaron Meyers, Oct 17, 2003
    #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. Mike Newton
    Replies:
    0
    Views:
    2,898
    Mike Newton
    Jul 23, 2004
  2. Steve C. Orr [MVP, MCSD]
    Replies:
    0
    Views:
    1,620
    Steve C. Orr [MVP, MCSD]
    Jul 23, 2004
  3. Louis Anderson

    Span disappears randomly in IE

    Louis Anderson, Jul 14, 2004, in forum: HTML
    Replies:
    2
    Views:
    832
    Louis Anderson
    Jul 14, 2004
  4. Tony

    Dim context As HttpContext = HttpContext.Current

    Tony, Mar 2, 2004, in forum: ASP .Net Web Controls
    Replies:
    2
    Views:
    310
    Teemu Keiski
    Mar 3, 2004
  5. Aaron Meyers

    HttpContext user/authentication info disappears randomly

    Aaron Meyers, Oct 17, 2003, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    123
    Aaron Meyers
    Oct 17, 2003
Loading...

Share This Page