[UPHPU] MySQL PHP 5 Session-Based Hit Counter
bms at mscis.org
Mon Jan 22 09:26:12 MST 2007
Jacob Wright wrote:
> Hey Brandon,
> I'm not getting any cookies set on any of your pages (i.e.
> http://bstout.securesites.net isn't working for me either). The
> headers being sent to my browser are setting the cookie path to /tmp
> which says if I'm at http://mscis.org/tmp then the cookie will be
> valid. Make sure your cookie path is set to a plain ol' slash (/).
> Set-Cookie: PHPSESSID=8oduagb1i4s0lu4r2olkrnkc97; path=/tmp
> Hope this solves it!
> Jacob Wright
> Within Code LLC
I thought the path was for the server-side cookie. I've set the path to
/, but it's still incrementing every refresh. It seems both sites
increment every refresh now. Any other ideas?
Also, isn't the point of a session to avoid client-side cookies?
More information about the UPHPU