From 64cc9648e642a451dc94e907357b3cc10289a879 Mon Sep 17 00:00:00 2001 From: sp Date: Mon, 1 Mar 2021 02:17:58 +1100 Subject: [PATCH] tracking cookie only goes for last send, as it can only set once, and cannot be overwritten. --- apiv1.go | 1 - 1 file changed, 1 deletion(-) diff --git a/apiv1.go b/apiv1.go index b13d979..274ce46 100644 --- a/apiv1.go +++ b/apiv1.go @@ -47,7 +47,6 @@ func apiV1Main(w http.ResponseWriter, r *http.Request) { session.RenewIfExpireSoon() session.SetRemote(r) //make sure they are using latest remote session.Add("mid", apiV1GetMachineId(r)) //set machine id - apiV1AddTrackingCookie(w, r, &session) // add tracking cookie to client //we have a session now, either guest or valid user //search through handler