Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
ASP .Net
ASP .Net Web Services
HttpContext user/authentication info disappears randomly
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Aaron Meyers, post: 4312613"] 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). Both web services are on the same machine. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
ASP .Net
ASP .Net Web Services
HttpContext user/authentication info disappears randomly
Top