Forum Moderators: open

Message Too Old, No Replies

Can a cookie be set with root dir permission by a sub dir html file

         

qazwer

10:19 pm on Feb 24, 2005 (gmt 0)

10+ Year Member



Is it possible for an html file residing in a sub directory to set a cookie with root directory permission? If so how would you do this. Because as far as I know a cookie set by a certain html file will be set with permission for that specific html file's directory level and lower. Please note that my situation requires the html file to be in a sub directory and not in root, but it needs to set a cookie which has higher directory (up to root) permission without using another root located html file.

qazwer

6:30 pm on Feb 27, 2005 (gmt 0)

10+ Year Member



Resolved you can use "/" for the path.