You are here: Re: Accessing Cookies From Entire Site? « HTML « IT news, forums, messages
Re: Accessing Cookies From Entire Site?

Posted by Benjamin Niemann on 11/29/89 11:28

Nonee wrote:

> Hello all,
>
> I am having a problem. I am using a cookie to track products in
> an order and then a cart to checkout. Well, the cookie is tracking
> fine for the products but when I go to the checkout cart, the cookie
> is empty. Now, the products are in a folder deeper than the cart and
> I think this has something to do with the path stored in the cookie.
> Right? How can I have the cookie remain accessible for the enitre
> site? Do I just put the domain in the path? path="www.somesite.com"?

No, use path="/" (or what ever is the topmost path where the cookie is
needed).

--
Benjamin Niemann
Email: pink at odahoda dot de
WWW: http://www.odahoda.de/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация