Currently I've got a web application with two pages, Login and Default.
I've been tirelessly trying to write 2x GUID's which are returned into a HTTP header when a login procedure is executed in the code behind on the login page. I then want to read these out in the page load of the default page.
I'm rather inexperienced with HTTP headers in C# and I tried the following earlier to add the values in from login with no success....
Request.Headers.Add("GUID", strGUID);
Response.Headers.Add("GUID", strGUID);
To retrieve the values on the default page I was trying to use...
strGUID = Response.Headers.Get("GUID");
And then to finally clear the header of all the custom crap I'd piled into it, I was trying to use...
Response.Headers.Clear();
I've been looking around the Internet but I can't seem to find any tutorials on this or any step-by-step explanations of how to achieve a similar task.
HttpContext.Current.Items