Skip to content

Instantly share code, notes, and snippets.

@lniwn
Created August 22, 2016 07:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lniwn/35a326927e87b12b9e0fe7a4babbf429 to your computer and use it in GitHub Desktop.
Save lniwn/35a326927e87b12b9e0fe7a4babbf429 to your computer and use it in GitHub Desktop.
清理WinInet会话级cookie
// http://stackoverflow.com/questions/6375540/how-to-clear-cookie-through-wininet-function
::InternetSetOption(NULL, INTERNET_OPTION_END_BROWSER_SESSION, NULL, 0);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment