Skip to content

cookies table is empty although cookies are sent #41

@otsakir

Description

@otsakir

Hello,

I'm trying to sent a cookie to an orbit app but it doesn't seem to make its way to the web.cookies table. The cookie is named 'bmaleticket' and from the request as well as from prettyprinting 'web' it seems to be ok.

I'm using orbit:
2.2.2-1 (installed) - /usr/local/lib/luarocks/rocks

and lua:
Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio

Here is the whole 'web' table pretty printed:

{
GET =
{
},
POST =
{
post_data = "",
},
cookies =
{
},
delete_cookie = function: 0x1084270,
doc_root = "/home/nando/src/bMale",
headers =
{
["Content-Type"] = "text/html",
},
input =
{
},
method = "get",
path_info = "/get",
path_translated = "/home/nando/src/bMale/bmale.lua",
prefix = "/bmale.lua",
real_path = "/home/nando/src/bMale",
response = "",
script_name = "/bmale.lua",
set_cookie = function: 0x10a6650,
status = "200 Ok",
vars =
{
APP_PATH = "/home/nando/src/bMale",
CONTENT_LENGTH = "",
CONTENT_TYPE = "",
DOCUMENT_ROOT = "/home/nando/src/bMale",
HTTP_COOKIE = "bmaleticket=c6f1eadc%2D34cb%2D4c4c%2Dcce8%2Ddf7f932946dd; BOS_Locale=en",
PATH_INFO = "/get",
PATH_TRANSLATED = "/home/nando/src/bMale/bmale.lua",
QUERY_STRING = "",
REQUEST_METHOD = "GET",
SCRIPT_NAME = "/bmale.lua",
error =
{
write = function: 0xe42fb0,
},
input =
{
read = function: 0xe43060,
},
},
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions