Ask a Question related to PHP Development, Design and Development.
-
Chris Shiflett #1
Re: [PHP] deleting one cookie is deleting both..why? (tiny scripts)
--- Ryan A <ryan@jumac.com> wrote:
If you are setting the cookie from bestwebhosters.com, the best way (my> how do i make sure that the cookie will work for [url]http://best[/url]....
> and [url]www.best[/url]... and blah.bestweb.... etc? because thats what I
> thought I was doing by using .bestwebhosters.com
opinion) is to not specify the domain, so that the browser will use the current
domain. This seems to be the most compatible across all browsers.
If you want to specify the domain, you can try leaving off the leading dot, as
in bestwebhosters.com. On *most* Web browsers, the cookie will be sent in
requests for [url]www.bestwebhosters.com[/url] also, but from hat I have read, this is
less reliable.
Hope that helps.
Chris
=====
Become a better Web developer with the HTTP Developer's Handbook
[url]http://httphandbook.org/[/url]
Chris Shiflett Guest
-
Deleting DTD
Using ID CS 3.0.1 / Win XP. My typical use is to take a newsletter document created within ID, import a DTD, map style to tags, export XML and... -
Deleting Indexed Cookie
Hello, On one of my webpages, I use a cookie to automatically log a user in: Response.Cookie("USER")("USERNAME") = "Steve"... -
#25629 [Opn->Bgs]: session cookie being set to deleted when deleting a session
ID: 25629 Updated by: sniper@php.net Reported By: john at tarot dot com -Status: Open +Status: Bogus... -
deleting one cookie is deleting both..why? (tiny scripts)
Hi again, I am setting 2 cookies like so:(setCookie.php) <?php setcookie("name1","1","0","",".bestwebhosters.com");... -
Deleting ICS
For some reason my ICS is working intermittenly . . . I almost always have to click the reload button several times in IE before the page loads. I...



Reply With Quote

