junk-session-cookies.d 542 B

123456789101112131415
  1. c: Copyright (C) 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 makes it
  14. discard all "session cookies". This has the same effect as if a new session is
  15. started. Typical browsers discard session cookies when they are closed down.