blob: 7816125fa52a3e0de909f40ae058c6d192f8f2c8 [file] [log] [blame]
xf.li6c8fc1e2023-08-12 00:11:09 -07001c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
2SPDX-License-Identifier: curl
3Long: junk-session-cookies
4Short: j
5Help: Ignore session cookies read from file
6Protocols: HTTP
7See-also: cookie cookie-jar
8Category: http
9Example: --junk-session-cookies -b cookies.txt $URL
10Added: 7.9.7
11Multi: boolean
12---
13When curl is told to read cookies from a given file, this option will make it
14discard all "session cookies". This will basically have the same effect as if
15a new session is started. Typical browsers always discard session cookies when
16they are closed down.