cookies in a page

Discussion in 'HTML' started by Jan C. Faerber, Jun 23, 2009.

  1. 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.
     
    Jan C. Faerber, Jun 23, 2009
    #1
    1. Advertising

  2. Jan C. Faerber

    Neredbojias Guest

    On 23 Jun 2009, "Jan C. Faerber" <> wrote:

    > 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.

    --
    Neredbojias
    http://www.neredbojias.org/
    http://www.neredbojias.net/
     
    Neredbojias, Jun 23, 2009
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Alex Nitulescu

    Response.Cookies vs Request.Cookies

    Alex Nitulescu, Feb 3, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    8,580
    Hans Kesting
    Feb 3, 2005
  2. Andy Fish
    Replies:
    3
    Views:
    6,582
    Fredrik Lindner
    Nov 6, 2003
  3. user
    Replies:
    3
    Views:
    687
    =?ISO-8859-1?Q?G=F6ran_Andersson?=
    Mar 31, 2007
  4. archana
    Replies:
    1
    Views:
    526
  5. _Who
    Replies:
    7
    Views:
    2,751
Loading...

Share This Page