Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > HttpContext user/authentication info disappears randomly

Thread Tools

HttpContext user/authentication info disappears randomly

Aaron Meyers
Posts: n/a
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 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).
Reply With Quote

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
Olympus C-3040 - randomly losing calendar info phil Digital Photography 2 12-05-2004 06:21 PM
WIFI connection randomly/non randomly disconnects King Fu Wireless Networking 2 11-10-2004 07:03 AM
Span disappears randomly in IE Louis Anderson HTML 2 07-14-2004 04:06 AM
Dim context As HttpContext = HttpContext.Current Tony ASP .Net Web Controls 2 03-03-2004 04:51 PM
HttpContext user/authentication info disappears randomly Aaron Meyers ASP .Net Web Services 0 10-17-2003 05:16 AM