aboutsummaryrefslogtreecommitdiff
path: root/docs/cmdline-opts/junk-session-cookies.d
blob: daea7840add71cfac6327279fe583500376c984b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
Long: junk-session-cookies
Short: j
Help: Ignore session cookies read from file
Protocols: HTTP
See-also: cookie cookie-jar
Category: http
Example: --junk-session-cookies -b cookies.txt $URL
Added: 7.9.7
Multi: boolean
---
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.