zh2408 6 days ago

This code creates an HTTP session, sets a cookie within that session, makes another request that automatically includes the cookie, and then prints the response showing the cookies that were sent.

I may miss the error, but could you elaborate where it is?

1
Armazon 6 days ago

The url variable is never defined

foobarbecue 6 days ago

Yes it is, just before the pasted section.

Armazon 6 days ago

oh you are right, nevermind then