Hi,
I’m using the HttpClient Object to post to an aspx page. The difficulty I’m running into is maintaining the current session. I stored the SessionId inside of a cookie and can retrieve it from the request.cookies collection but assigning the old SessionID on the aspx page (using SessionIDManager’s, SaveSessionID) does not restore the previous session data. The request is sent with the correct ASP.NET_SessionId already in the cookie headers. The receiving aspx page needs the session data to access current user data, and storing the necessary session object as a cookie is not safe. So how can I maintain the current user session when issuing a HttpClient request?
Thanks,
Milton C.
Milton Cody