Results 1 to 6 of 6

Thread: Little Cookie Problem...

  1. #1
    rsitogp
    Guest

    Unhappy Little Cookie Problem...

    Hello,

    I've started playing around a bit with javascript and wanted to try and get the cookie that vB (vBulletin) stored of my username from this forum but I can't seem to get it with getcookie, can someone help me?

    Thanks in advance!

  2. #2
    Lively Member
    Join Date
    Feb 2002
    Posts
    69
    There are two types of cookies:
    session only (which are deleted when u exit ur browser, and can be accesed form every site) and normal cookies which can live for a long time and can be read only from one domain.Thats for security reasons, so the answer is:no, u cant read cookies from another site.

  3. #3
    rsitogp
    Guest
    So I can only check cookies that I set?

  4. #4
    PowerPoster
    Join Date
    Nov 2001
    Location
    Trying to reach and stay in the cloud
    Posts
    2,089

    Yes

    Yup you can only check th ecookies you have set using getcookie.
    However u can read the them like text files if you want to.

  5. #5
    rsitogp
    Guest

    Re: Yes

    Originally posted by veryjonny
    Yup you can only check th ecookies you have set using getcookie.
    However u can read the them like text files if you want to.
    But don't they go *comp-username*@*domain*? so it would be quite annoying?

  6. #6
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    Originally posted by Barney Calhoun
    There are two types of cookies:
    session only (which are deleted when u exit ur browser, and can be accesed form every site) and normal cookies which can live for a long time and can be read only from one domain.Thats for security reasons, so the answer is:no, u cant read cookies from another site.
    AFAIK, Session cookies (with are really the same as any other cookie, except no expiration date was set) are still limited to the setting domain.
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width