Announcement

Collapse
No announcement yet.

Sub-Domain question

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Sub-Domain question

    If I have domain.com and sub.domain.com and I set the cookie path on domain.com to cpath, where do the actual cookies get read so that I can read them with sub.domain.com?

    domain.com/cpath?? I don't have a clue where to make app under sub.domain.com read and write from to share cookies

    thnx!
    Mike

  • #2
    You can only read cookies under the same conditions they were created with. If you want cookies to work for the whole domain you should use .domain.com (note the extra . in front of domain). If you set a specific path they will only be accessible in that path.

    Comment

    Loading...
    Working...
    X