Jump to content

CURL Cookie File


The Little Guy

Recommended Posts

ok... I am running CURL, and it is making a cookie file... What does all this mean???

 

Here is the file contents:

# Netscape HTTP Cookie File
# http://www.netscape.com/newsref/std/cookie_spec.html
# This file was generated by libcurl! Edit at your own risk.

.myspace.com	TRUE	/	FALSE	1191688108	MSCulture	IP=208.97.167.27&IPCulture=en-US&PreferredCulture=en-US&Country=US&timeZone=0&ForcedExpiration=633266549089193265&USRLOC=QXJlYUNvZGU9NzE0JkNpdHk9QnJlYSZDb3VudHJ5Q29kZT1VUyZDb3VudHJ5TmFtZT1Vbml0ZWQgU3RhdGVzJkRtYUNvZGU9ODAzJkxhdGl0dWRlPTMzLjkyNjkmTG9uZ2l0dWRlPS0xMTcuODYxMiZQb3N0YWxDb2RlPTkyODIxJlJlZ2lvbk5hbWU9Q0E=
.myspace.com	TRUE	/	FALSE	0	SessionDDF1	90b6b4260b73447972f777e7c4842f07ca0204efa73a3000
.myspace.com	TRUE	/	FALSE	1106123297	MYUSERINFO	
.myspace.com	TRUE	/	FALSE	1106123297	USER	
creative.com	FALSE	/	FALSE	0	ASPSESSIONIDSCSSDTTD	ACJMCLJCFGAAKKFEGBELBMCJ

Link to comment
Share on other sites

http://www.cookiecentral.com/faq/#3.5

3.5 What are all those entries in my cookies.txt file?

 

The layout of Netscape's cookies.txt file is such that each line contains one name-value pair. An example cookies.txt file may have an entry that looks like this:

 

.netscape.com    TRUE  /  FALSE  946684799  NETSCAPE_ID  100103

 

Each line represents a single piece of stored information. A tab is inserted between each of the fields.

 

From left-to-right, here is what each field represents:

 

domain - The domain that created AND that can read the variable.

flag - A TRUE/FALSE value indicating if all machines within a given domain can access the variable. This value is set automatically by the browser, depending on the value you set for domain.

path - The path within the domain that the variable is valid for.

secure - A TRUE/FALSE value indicating if a secure connection with the domain is needed to access the variable.

expiration - The UNIX time that the variable will expire on. UNIX time is defined as the number of seconds since Jan 1, 1970 00:00:00 GMT.

name - The name of the variable.

value - The value of the variable.

 

And obviously wiki was pretty good reading, http://en.wikipedia.org/wiki/HTTP_cookie

And relevant rfc's:

http://www.faqs.org/rfcs/rfc2965

http://www.faqs.org/rfcs/rfc2109

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.