summaryrefslogtreecommitdiff
path: root/docs/cmdline-opts/junk-session-cookies.d
blob: 0cc342c72010f2c1ce0b9ac1feddd1f4c8d95094 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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
---
When curl is told to read cookies from a given file, this option will make it
discard all "session cookies". This will basically have the same effect as if
a new session is started. Typical browsers always discard session cookies when
they're closed down.