cookies in a page

J

Jan C. Faerber

http://en.wikipedia.org/wiki/HTTP_cookie#Implementation

I understand the way cookies are sent from the server to the browser
and back from the browser to the server
but I don't understand looking at this chart:


HTTP/1.1 200 OK
Content-type: text/html
Set-Cookie: name=value

(content of page)



but I don't understand how you have to manipulate the html page or the
server to send the data of the cookie itself
and if it would be possible to send cookies aswell just by simply
clicking a button etc.or not.
 
N

Neredbojias

http://en.wikipedia.org/wiki/HTTP_cookie#Implementation

I understand the way cookies are sent from the server to the browser
and back from the browser to the server
but I don't understand looking at this chart:


HTTP/1.1 200 OK
Content-type: text/html
Set-Cookie: name=value

(content of page)



but I don't understand how you have to manipulate the html page or
the server to send the data of the cookie itself
and if it would be possible to send cookies aswell just by simply
clicking a button etc.or not.

It takes a script, server- or client-side. And actually, it would be
possible to "propose" a cookie with a button.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top