Re: Must Have Cookies. PHP/JavaScript
| From: | Lasse | Date: | Fri, 06 Jul 2001 22:54:16 +0000 |
| Subject: | Re: Must Have Cookies. PHP/JavaScript | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-56587@lists.php.net to get a copy of this message | ||
Um... Can't you just set a cookie and see if you get it back on the next
page load?
--
Lasse
"Jeff Gannaway" <webmaster@cactusgraphics.com> wrote in message
news:200107052040.f65KeMO09724@cactusgraphics.cactusgraphics.com...
OK, I'm working on a site that absolutely must use a cookie containing a
session identifier.
I know how to set a cookie through PHP, but I need to do something else too.
The same page MUST identifier whether the cookie was accepted or not. I've
seen sites like NetFlix.com that will test to see if their cookie was
accepted, and if not, print up a page that says "Sorry, you've got have
your Cookies on or go somewhere else."
Does anyone know how to do this with PHP, Java, or JavaScript?
Code examples or example URLs would be appreciated.
Thanks,
Jeff Gannaway
___________________________________________________________
SUMMER ART PRINT SALE at www.PopStreet.com
Save an additional 10% off art print orders of $50 or more.
Type in coupon code jemc when checking out.
___________________________________________________________
Find the right art print for your home.
* Search by artist, color, art style and subject.
* Preview the art prints against your wall color.
* Specializing in contemporary, abstract and African
American art.
* Every day discounts on thousands of fine art prints.
PopStreet.com is your avenue to art.
http://www.popstreet.com
___________________________________________________________
Coupon may be redeemed from June 27 through July 31, 2001.