Pārlūkot izejas kodu

tracking cookie only goes for last send, as it can only set once, and cannot be overwritten.

master
sp pirms 4 gadiem
vecāks
revīzija
64cc9648e6
1 mainītis faili ar 0 papildinājumiem un 1 dzēšanām
  1. +0
    -1
      apiv1.go

+ 0
- 1
apiv1.go Parādīt failu

@@ -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

Notiek ielāde…
Atcelt
Saglabāt