iw7-mod/deps/curl/docs/cmdline-opts/junk-session-cookies.md

23 lines
587 B
Markdown
Raw Normal View History

2024-08-13 05:15:34 -04:00
---
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
Category: http
Added: 7.9.7
Multi: boolean
See-also:
- cookie
- cookie-jar
Example:
- --junk-session-cookies -b cookies.txt $URL
---
# `--junk-session-cookies`
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.