1

I have an interesting scenario that I need assistance with.

I have a classic asp page. The function of this page is to perform a http request to an external url and process the response from it.

Eg page.asp makes a http request to page2.aspx

Both pages are under the same domain.

What I need to do is pass all the cookies associated in the browsers page.asp request in the http request to page2.aspx.

Is this possible and if so how might I achieve it through class asp code?

1 Answer 1

1

Set the HTTP "Cookie" header on your ASPX request to the value of the "Cookie" header that was received in your ASP page.

Request.Headers('Cookie') should have the value you want.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.