curl-w32/docs/cmdline-opts/junk-session-cookies.md

587 B

c SPDX-License-Identifier Long Short Help Protocols Category Added Multi See-also Example
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. curl junk-session-cookies j Ignore session cookies read from file HTTP http 7.9.7 boolean
cookie
cookie-jar
--junk-session-cookies -b cookies.txt $URL

--junk-session-cookies

When curl is told to read cookies from a given file, this option makes it discard all "session cookies". This has the same effect as if a new session is started. Typical browsers discard session cookies when they are closed down.