junk-session-cookies.d 582 B

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