> but i dont understand why it needs cookies can you even use cookies 
> without javascript?? and i had javascript disabled
> 
> do php cookies get stored on the clients machine??

Cookies are set by HTTP headers. When the client requests a page it
sends the Cookie: header with data in it. For a server to "set" a cookie
it uses the "Set-Cookie" header. A client does not necessarily have to
accept the cookie (e.g. if cookies are "disabled" then the client will
ignore the header). All of this works entirely without JavaScript.

The PHP cookie functions causes the HTTP Set-Cookie header to be used.

There is also a JavaScript setcookie function which can be used to set
cookies without the "Set-Cookie" header, i.e. upon executing setcookie()
the client will send the Cookie: header with each request. But I don't
think it isn't used that much, except maybe by ad trackers etc.

I can confirm that the Trisquel website works without JavaScript enabled.

Andrew

Reply via email to