junk-session-cookies.d 567 B

123456789101112131415
  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. ---
  12. When curl is told to read cookies from a given file, this option will make it
  13. discard all "session cookies". This will basically have the same effect as if
  14. a new session is started. Typical browsers always discard session cookies when
  15. they are closed down.