junk-session-cookies.md (587B)
1 --- 2 c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. 3 SPDX-License-Identifier: curl 4 Long: junk-session-cookies 5 Short: j 6 Help: Ignore session cookies read from file 7 Protocols: HTTP 8 Category: http 9 Added: 7.9.7 10 Multi: boolean 11 See-also: 12 - cookie 13 - cookie-jar 14 Example: 15 - --junk-session-cookies -b cookies.txt $URL 16 --- 17 18 # `--junk-session-cookies` 19 20 When curl is told to read cookies from a given file, this option makes it 21 discard all "session cookies". This has the same effect as if a new session is 22 started. Typical browsers discard session cookies when they are closed down.