Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cookies table is empty although cookies are sent #41

Open
otsakir opened this issue Oct 22, 2014 · 0 comments
Open

cookies table is empty although cookies are sent #41

otsakir opened this issue Oct 22, 2014 · 0 comments

Comments

@otsakir
Copy link

otsakir commented Oct 22, 2014

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,
},
},
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant