Explicit path of cookies

  • Thread starter Thread starter raj
  • Start date Start date
R

raj

can i set explicit path for cookies in asp.net

by default we set path="/" which is default path of cookies folder,

Thanks in advance
 
the path set for a cookie is not the folder to store the cookie, but rather
tell the browser to which web sites to tie the cookie. you can tie a cookie.

say you have

mysite.com/dir1
mysite.com/dir2

you can tie the cookie to mysite.com, so its shared between site, a specify
a path and each site can have its own cookie.

-- bruce (sqlwork.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top