Welcome Guest, Not a member yet? Register   Sign In
session 'range' ?
#6

[eluser]Michael Wales[/eluser]
It's because when cookie_path is set to / the cookie is established across the entire domain. From the PHP manual for setcookie():

Quote:The path on the server in which the cookie will be available on. If set to '/', the cookie will be available within the entire domain. If set to '/foo/', the cookie will only be available within the /foo/ directory and all sub-directories such as /foo/bar/ of domain. The default value is the current directory that the cookie is being set in.


Messages In This Thread
session 'range' ? - by El Forum - 08-12-2007, 10:18 AM
session 'range' ? - by El Forum - 08-12-2007, 10:24 AM
session 'range' ? - by El Forum - 08-12-2007, 10:33 AM
session 'range' ? - by El Forum - 08-12-2007, 10:37 AM
session 'range' ? - by El Forum - 08-12-2007, 10:44 AM
session 'range' ? - by El Forum - 08-12-2007, 12:48 PM
session 'range' ? - by El Forum - 08-12-2007, 02:38 PM
session 'range' ? - by El Forum - 08-12-2007, 03:36 PM
session 'range' ? - by El Forum - 08-13-2007, 05:08 AM
session 'range' ? - by El Forum - 08-14-2007, 04:13 AM
session 'range' ? - by El Forum - 08-14-2007, 07:28 AM
session 'range' ? - by El Forum - 08-14-2007, 07:46 AM
session 'range' ? - by El Forum - 08-14-2007, 08:27 PM
session 'range' ? - by El Forum - 08-15-2007, 03:33 AM
session 'range' ? - by El Forum - 08-17-2007, 11:28 AM



Theme © iAndrew 2016 - Forum software by © MyBB