Hacker News new | ask | show | jobs
by zh2408 423 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 comments

The url variable is never defined
Yes it is, just before the pasted section.
oh you are right, nevermind then