views:

34

answers:

1

I know it is possible to set a cookie for a path such as "/" or "/folder/", but is it possible to set a cookie for a specific page, such as "/folder/page.html"?

A: 

No.

More specifically, browsers don't care about page specifics -- only paths. Browsers submit cookies on page requests based on the path of the url; the specific resource at that location is irrelevant.

On the flip side, why would you want to limit a cookie based on a specific page?

jro