I have an application that has an object that carries the current users credentials, i.e. userID and email address etc. The application at some points will call a shared ajax repository to perform certain actions in an automated way, which is done by creating an new HttpWebRequest and then posting the data over.
Is it possible at this point to carry the user session in the HttpContext.Current over to the HttpWebRequest to appear as if they are making the call, so that the HttpWebRequest is already authenticated and has the users object available.