Google Answers Logo
View Question
 
Q: Installing "Cookies" on a Website ( No Answer,   3 Comments )
Question  
Subject: Installing "Cookies" on a Website
Category: Computers
Asked by: chfofstaff-ga
List Price: $10.00
Posted: 10 Dec 2004 21:04 PST
Expires: 09 Jan 2005 21:04 PST
Question ID: 441138
I am building a website which requires the use of cookies to identify
repeat users. It will be upfront and consistent with the purpose of
the visitor who will have the option to not accept it. Question: How
is a cookie attachment software introduced by a website and is there
commercial software for installing it into the website design or
attaching to the website?
Answer  
There is no answer at this time.

Comments  
Subject: Re: Installing "Cookies" on a Website
From: eidanyosoy-ga on 12 Dec 2004 12:40 PST
 
http://webmonkey.wired.com/webmonkey/98/29/index1a_page7.html This
site will walk you through impementing cookies via java script, you
could also use other methods, to get a good answer from the google
pros, they will need more info, how are you coding the site? Do you
want your cookies to expire? etc.. My advice read the article then
post more info here if you still need help.
Subject: Re: Installing "Cookies" on a Website
From: tigerheart-ga on 20 Dec 2004 14:24 PST
 
As to the usage of cookies, unless you need sessions to be persistant
upon closing/reopening the browser, I'd recommend using server based
'sessions' in leiu of cookies, as cookies can be turned on/off in the
browser, however sessions are stored server side and are persistant
within that individual browsing 'session'. To use sessions though, you
must use a serverside scripting language. If you decide to use
sessions instead of cookies, let me know what scripting language you
use (ie PHP, ASP, Perl, etc) and I can work up a simple example for
you.
Subject: Re: Installing "Cookies" on a Website
From: brimaster-ga on 22 Dec 2004 16:10 PST
 
I would use sessions and cookies. rember alot of people disallow
cookies on their computers becuase of security risks. but u should n
ot use java script as a programming language u should use dynamic
languages such as cfm, asp, php, or c++(cgi). u good example of how to
use both is using a file or a database to store a MD5 string with all
the info u would store in a cookie. then palce the cookie with that
md5 string for it to check the DB for once they open the page again.
sessions only last aslong as that browser window is open.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy