1---
2c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
3SPDX-License-Identifier: curl
4Long: junk-session-cookies
5Short: j
6Help: Ignore session cookies read from file
7Protocols: HTTP
8Category: http
9Added: 7.9.7
10Multi: boolean
11See-also:
12  - cookie
13  - cookie-jar
14Example:
15  - --junk-session-cookies -b cookies.txt $URL
16---
17
18# `--junk-session-cookies`
19
20When curl is told to read cookies from a given file, this option makes it
21discard all "session cookies". This has the same effect as if a new session is
22started. Typical browsers discard session cookies when they are closed down.
23