Comment by zh2408
4 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?
The url variable is never defined
Yes it is, just before the pasted section.
oh you are right, nevermind then