I have a .asp code which I generate several session variables in it and then I redirect it to a c# doe. I am trying to read these session variables which are coming from the.asp code into my C# code, but it seems that I cannot pass those into my c# code. I can get the value of the session variables while I am still on .asp part but as soon as I redirect to c# code and try to get the session variables(and value of them), the value does not come through.
asp part:
response.write("Session(oldID)=&Session("oldID"))
c# part:
string oldIDSession = (string)(Session["oldID"]);