NetTalk Central

Author Topic: I want the shortest header possible; at least with no cookies  (Read 4744 times)

jlavera

  • Newbie
  • *
  • Posts: 47
    • View Profile
    • Email
Hi, all.
I'm doing a rest server, and I need an answer with the shortest possible header.
How do I remove cookies from the header? I don't need cookies at all, each connection is self contained.
Right now I'm getting something like this:

HTTP/1.1 200 OK
Cache-Control: no-store, no-cache, must-revalidate, private,post-check=0, pre-check=0, max-age=0
Pragma: no-cache
Content-Length: 103
Content-Type: application/json; charset=utf-8
Expires: Tue, 05 Jun 2018 05:33:17 GMT
Server: Microsoft-HTTPAPI/2.0
Access-Control-Allow-Origin: *
X-Content-Type-Options: nosniff
X-Xss-Protection: 1; mode=block
Set-Cookie: AzureAppProxyUserSessionCookie_34383342-4432-3733-4238-304535464545_1.3=3|HkuSBjoJzg9BNggVJJ6wGNJzEWDPWMQGeTEFSjtuGlgC9ZQks46lDam3tpP194pgvM37OWnQSPIFi6vHXP1HZjICBiMkEiDXBt9ZKACDk8uhmmJ2qB+iha4dffHiyRYIsR7W30JJDfZgUppX6f9fTi1nbWPmvlj6czIF3cOO6Pm72N+xFVA9IE/u9775QsoEk8kF5ez4ESvL95sbQbbH+1JHdvck3CB3/Jv7wErL+ruFa5o1NHnjdr4NDr2mtW07q8Ok/Vm+crQqI/CxzA7fD7hH0xwC8fdlJ03U6kdBK0TfQciWam3q0Q7kzjjQUxxd9DvEnXI+baFmURlcVGUlui0axv6mePA1QyRwryiOO/vJppf6z4YRJkojuxJc9bNq; expires=Fri, 05 Jun 2020 05:33:17 GMT; path=/; domain=mydomain.com.au
Set-Cookie: AzureAppProxyAnalyticCookie_bc661b1b-8c1c-4247-ae52-4cde772e3061_1.3=3|jWJYDAfRjy956EZqZZx0JigRY8bZZ10JJalz358QlRmdVjlpV5nzuN3alKowOvZLKBu0VMXNlddyrVmsX86QhwJp1fHwgs50U7ODukdcG/wkHT9vQibcEP3ubw711AnI8QFZQEbcTTPjSGv2hg4bxg==; path=/
Date: Wed, 05 Jun 2019 05:33:17 GMT
Connection: close

Thanks!

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11247
    • View Profile
Re: I want the shortest header possible; at least with no cookies
« Reply #1 on: June 05, 2019, 02:15:29 AM »
the header says;

Server: Microsoft-HTTPAPI/2.0
and the cookies;
AzureAppProxyUserSessionCookie

All suggests this is not coming from nettalk but from some proxy in between.

jlavera

  • Newbie
  • *
  • Posts: 47
    • View Profile
    • Email
Re: I want the shortest header possible; at least with no cookies
« Reply #2 on: June 05, 2019, 07:09:47 AM »
All right, seems you are right. I tried locally and indeed with the "close session" option, locally it is not generating any cookie.
Thanks!