| "encoding/json" | "encoding/json" | ||||
| "errors" | "errors" | ||||
| "fmt" | "fmt" | ||||
| "log" | |||||
| "math/rand" | "math/rand" | ||||
| "net/http" | "net/http" | ||||
| "net/url" | "net/url" | ||||
| } | } | ||||
| func crmpixel(w http.ResponseWriter, r *http.Request) { | func crmpixel(w http.ResponseWriter, r *http.Request) { | ||||
| //log.Println("a") | |||||
| log.Println(getHTTPRequestQuery(r, "abc")) | |||||
| cookie := crmpixelCookie(r) | cookie := crmpixelCookie(r) | ||||
| http.SetCookie(w, &cookie) | http.SetCookie(w, &cookie) | ||||