![]() |
|
![]() | ||
|
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? |
![]() | ||
|
There is no answer at this time. |
![]() | ||
|
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. |
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 Home - Answers FAQ - Terms of Service - Privacy Policy |