master-server/deps/curl/docs/cmdline-opts/junk-session-cookies.md
2024-05-15 15:20:32 -04:00

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.