#39402 [Csd->Bgs]: Not able to access the desired cookie

From: Date: Mon, 18 Dec 2006 10:00:24 +0000
Subject: #39402 [Csd->Bgs]: Not able to access the desired cookie
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-106477@lists.php.net to get a copy of this message
ID: 39402 Updated by: tony2001@php.net Reported By: pradeep_elixir at yahoo dot com -Status: Closed +Status: Bogus Bug Type: *General Issues Operating System: LINUX PHP Version: 4.4.4 Previous Comments: ------------------------------------------------------------------------ [2006-12-18 09:45:09] pradeep_elixir at yahoo dot com It is not related with php rather it is an issue of some privecy policies related to the browser. ------------------------------------------------------------------------ [2006-11-07 14:13:19] edink@php.net This is a browser issue, not a bug in PHP. ------------------------------------------------------------------------ [2006-11-06 15:29:25] pradeep_elixir at yahoo dot com Description: ------------ I tried to access cookie from a php file using javascript tag: <script language="javascript" > source = "http://mysite.com/accesscookie.php" document.write('\<\script language="javascript" src="' + source +'"\>\<\/SCRIPT\>'); </script> The php script could not read the cookie stored for the damain mysite.com Browser is Internet explorer 6.0 When I tred the same url directly in the browser it was able to read the cookie. The problem i am facing for the Internet explorer while it is working fine in Mozila Firefox 1.5.0.7 Reproduce code: --------------- I tried to access cookie from a php file using javascript tag: <script language="javascript" > source = "http://mysite.com/accesscookie.php" document.write('\<\script language="javascript" src="' + source +'"\>\<\/SCRIPT\>'); </script> The php script could not read the cookie stored for the damain mysite.com Browser is Internet explorer 6.0 When I tred the same url directly in the browser it was able to read the cookie. The problem i am facing for the Internet explorer while it is working fine in Mozila Firefox 1.5.0.7 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=39402&edit=1

« previous php.bugs (#106477) next »