2023-01-02 20:51:48 +08:00
|
|
|
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
2022-06-14 06:12:03 +08:00
|
|
|
SPDX-License-Identifier: curl
|
2016-11-16 06:44:58 +08:00
|
|
|
Long: junk-session-cookies
|
|
|
|
Short: j
|
|
|
|
Help: Ignore session cookies read from file
|
|
|
|
Protocols: HTTP
|
|
|
|
See-also: cookie cookie-jar
|
2020-07-13 20:15:04 +08:00
|
|
|
Category: http
|
2021-08-31 22:37:14 +08:00
|
|
|
Example: --junk-session-cookies -b cookies.txt $URL
|
2021-09-28 17:50:07 +08:00
|
|
|
Added: 7.9.7
|
2022-10-18 16:39:43 +08:00
|
|
|
Multi: boolean
|
2016-11-16 06:44:58 +08:00
|
|
|
---
|
|
|
|
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
|
2021-10-31 23:34:44 +08:00
|
|
|
they are closed down.
|