logo

New Response

« Return to the blog entry

You are replying to:

    • avatar
    • Marcos Romero
    • Posted on Wed 2 Mar 2005 07:05

    Jake

    I use to get cookie values like this:

    codestore_name := @Middle(HTTP_COOKIE; "codestore_name="; ";");

    It really works in every application I've done.

    To set cookies I don't use @SetHTTPHeader, instead I write the actual html header:

    <meta http-equiv="Set-Cookie" content="..." />

    To specify the expiration date I've always used any of these formulaes:

    {Link}

    {Link}

    And remember that in the page you set the cookie, the HTTP_COOKIE field doesn't have the cookie value specified yet.

    Regards

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment: