LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 09-06-2002, 04:05 AM   #1
sandy
Member
 
Registered: Aug 2002
Location: Mumbai,India
Distribution: Linux Mint 12, Gentoo
Posts: 230

Rep: Reputation: 30
Talking cookies


Is there any method to read the information stored in the cookies?
 
Old 09-06-2002, 05:52 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
I'm on wincrash 2k and can read my cookies with notepad. They provide at least the name of the site, and plenty of numbers.

And btw, right now the title of the thread above this is fortune, and this is cookie, Fortune Cookie

Cool
 
Old 09-06-2002, 07:56 AM   #3
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,591

Rep: Reputation: 145Reputation: 145
if u run a webserver and want to read cookies on your clients' machines you may use php's $_COOKIE array. u can read about that in php manual at php.net. there u'll find a link to the http rules of w3c that explain the use of cookies in general.
a cookie must have a name and optional several other values like date of expire and so on. all in all not very interesting if u don't have to track users on your site.
cheers, jens

http://www.w3.org/Protocols/rfc2616/rfc2616

Last edited by j-ray; 09-06-2002 at 08:10 AM.
 
Old 09-06-2002, 10:14 AM   #4
sandy
Member
 
Registered: Aug 2002
Location: Mumbai,India
Distribution: Linux Mint 12, Gentoo
Posts: 230

Original Poster
Rep: Reputation: 30
actually I meant how to decode those cookies . While viewing the cookies with the Cookie manager in netscape or mozilla, it shows the "information field" in an encoded manner. Is there any way to decode it ?
 
Old 09-06-2002, 01:00 PM   #5
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,591

Rep: Reputation: 145Reputation: 145
no, i don't think so
the values for the cookies are generated at the webserver and might be taken from a database and contain whatever the author of the website scripts felt like or whatever the dbms made of your username, password, insert time and so on.
cheers,
jens
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LQ Cookies don't seem to take Simon Bridge LQ Suggestions & Feedback 3 05-03-2005 03:35 AM
Where do cookies etc go? Bill Johns Linux - Security 3 04-11-2005 03:35 AM
Where are my cookies? GoinEasy9 LQ Suggestions & Feedback 2 03-05-2004 09:49 PM
Not getting cookies Fingel LQ Suggestions & Feedback 2 02-13-2003 07:45 AM
cookies rshaw LQ Suggestions & Feedback 2 07-14-2001 11:08 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 04:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration