|
-
Apr 12th, 2002, 02:45 PM
#1
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!
-
Apr 12th, 2002, 03:05 PM
#2
Lively Member
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.
-
Apr 12th, 2002, 03:12 PM
#3
So I can only check cookies that I set?
-
Apr 13th, 2002, 02:43 AM
#4
PowerPoster
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.
-
Apr 14th, 2002, 12:36 PM
#5
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?
-
Apr 15th, 2002, 11:14 AM
#6
Black Cat
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|