Created
May 10, 2013 17:56
-
-
Save anonymous/5556157 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var setCookieHeader = response.Headers["SET-COOKIE"]; | |
var sltCookie = setCookieHeader.Substring(0, setCookieHeader.IndexOf(';')); | |
if (sltCookie.StartsWith("slt")) | |
{ | |
Cookies.Add(new Cookie("slt", sltCookie.Substring(4), "/", "www.litefighter.com")); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment