Quantcast
Channel: Classic ASP
Viewing all articles
Browse latest Browse all 488

Extra Cookie in Response Header

$
0
0

Extra Cookie in Response Header:

I am sending one cookie in the response header but another one appears that is unwanted; this is a Classic Asp site.

'HERE IS SET THE COOKIE
Response.Clear
Response.AddHeader "Set-Cookie", "LoginSuccessful=1; expires=Sun, 18-May-2014 23:16:03 GMT; path=/; domain=AcoolWebsite.org"
Response.end


'HERE IS WHAT WE END UP WITH:
[Cache-Control: private, Content-Length: 0, Content-Type: text/html, Server: Microsoft-IIS/8.5, Set-Cookie: LoginSuccessful=1; expires=Sun, 18-May-2014 23:16:03 GMT; path=/; domain=AcoolWebsite.org; Secure, Set-Cookie: ASPSESSIONIDASRQRTCC=APKDJOGBECONNMFCPGHMACFG; path=/; Secure, Access-Control-Allow-Origin: *, X-Powered-By: ASP.NET, Date: Thu, 12 May 2016 06:02:07 GMT, Connection: Keep-alive, Via: 1.1 ID-0002262072547054 uproxy-2]

This is a Classic Asp site but it seems ASP.NET is setting it's own cookie and adding it to the response.

How can I get rid of this?


Thanks.


Viewing all articles
Browse latest Browse all 488

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>