Book Section
-----
TY JavaScript 3rd Ed.
Teach Yourself JS 1.5
Teach Yourself DHTML
Teach Yourself JS 1.3
LLWW: JavaScript

General Section
-----
Discussion Forum
Articles / Tips
JavaScript Links
About the Author
Privacy Policy
Contact Me



Other Sites
-----
Website Workshop
JavaScript Weblog

JavaScript Workshop Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Cookies

 
Post new topic   Reply to topic    JSWorkshop Forum Index -> Articles
View previous topic :: View next topic  
Author Message
phil karras
Senior Member
Senior Member


Joined: 15 Jul 2002
Posts: 1750
Location: MD

PostPosted: Tue Jul 16, 2002 7:18 am    Post subject: Cookies Reply with quote

There are two types of cookies:
(1) A temporary cookie which is removed when the browser is shut down
(2) A permanent cookie which is saved to the cookie file when the browser is shut down.

If you never shut down your browser (and the time on the temp cookie is long enough, or the format is messed up) a temporary cookie will look like a permanent cookie.

The way to make a temporary cookie is to either:
(1) Make the expiration date/time short.
(2) Mess up the expiration date format so it doesn't make sense to the browser. This is a really neat trick! the browser can not read the messed up format so it won't delete the cookie while the browser is running, BUT once you shut the browser down, again the format is not recognized and the cookie won't be saved!

LINKS:
Browsers EAT my Cookie!
http://jsworkshop.com/bb/viewtopic.php?t=631
-No longer available, lost during the change over I guess. -pk 11/23/2011

Hints: Making Permanent Cookies
http://jsworkshop.com/bb/viewtopic.php?t=671

Cookies, benf16
http://jsworkshop.com/bb/viewtopic.php?t=517

Cookies - From different Pages in different folders, DaveJunior
http://jsworkshop.com/bb/viewtopic.php?t=1436

A Simple Cookie
http://jsworkshop.com/bb/viewtopic.php?t=1064

Cookie size limits and locations, Chris
http://jsworkshop.com/bb/viewtopic.php?t=1105

Hope that helps.
_________________
Phil K
Circle Software Consulting
Test website: http://cs.yrex.com/
Guidelines for Posting: http://jsworkshop.com/posting.html
IHBAAA = It Has Been Asked And Answered
KISS: http://jsworkshop.com/bb/viewtopic.php?t=508


Last edited by phil karras on Wed Nov 23, 2011 3:23 am; edited 3 times in total
Back to top
View user's profile Send private message Visit poster's website
Skunkape
New member
New member


Joined: 25 Nov 2003
Posts: 2
Location: St. Petersburg, FL

PostPosted: Fri Aug 19, 2005 10:28 am    Post subject: Who ate the cookies? Reply with quote

What happened to the cookie articles? I went to read through them but get a page not found on every one!

Do they still exist but under new urls?

Thanks

Skunk
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
zachariah
Member
Member


Joined: 07 Sep 2002
Posts: 100
Location: Earth

PostPosted: Sat Aug 19, 2006 11:24 am    Post subject: Re: Cookies Reply with quote

Here's what I get if I just use the same topic numbers, but put the new location of topics:
Quote:
Browsers EAT my Cookie!
http://jsworkshop.com/bb/viewtopic.php?t=631

Hints: Making Permanent Cookies
http://jsworkshop.com/bb/viewtopic.php?t=671

Cookies, benf16
http://jsworkshop.com/bb/viewtopic.php?t=517

Cookies - From different Pages in different folders, DaveJunior
http://jsworkshop.com/bb/viewtopic.php?t=1436

A Simple Cookie
http://jsworkshop.com/bb/viewtopic.php?t=1064

Cookie size limits and locations, Chris
http://jsworkshop.com/bb/viewtopic.php?t=1105


... but I don't think that any of those go to the right topics (and a search on the first title only lead back here)
_________________
Firefox Thunderbird
Back to top
View user's profile Send private message
phil karras
Senior Member
Senior Member


Joined: 15 Jul 2002
Posts: 1750
Location: MD

PostPosted: Tue Jul 13, 2010 7:33 am    Post subject: Reply with quote

Thanks zachariah I've updated the links.
_________________
Phil K
Circle Software Consulting
Test website: http://cs.yrex.com/
Guidelines for Posting: http://jsworkshop.com/posting.html
IHBAAA = It Has Been Asked And Answered
KISS: http://jsworkshop.com/bb/viewtopic.php?t=508
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    JSWorkshop Forum Index -> Articles All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
(c) 1997-2002 Starling Technologies and Michael Moncur. Portions (c) Sams Publishing.