简体   繁体   中英

Classic asp session cookie

Does anyone know what marking the secure and path to a classic asp session cookie particularly when you try and access it.

I am assigning the domain to the fqdn and the path to whatever it is to the application. Can I not access the cookie from the look back 127.0.0.1 because the domain doesn't match?

Cookies can only be accessed by the domain that has set it due to the Same Origin Policy .

Therefore a cookie set on example.com cannot be read by the loopback on 127.0.0.1 or anyother domain name or IP address, even if the IP address points to the same server.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM