Hi,

In wap cookie sessions I get the following error in wapbox.log:

2009-02-01 03:17:22 [3812] [2] ERROR: WSP: Do not know how to encode header 
type 65
2009-02-01 03:17:22 [3812] [2] WARNING: Skipping header: Set-Cookie: 
IMRID=SYT4Gj699OQAAFIMwvw; expires=Wed, 30-Jan-2019 01:17:14 GMT; 
path=/cgi-bin; domain=.imrworldwide.com

According to HTTP specs, this is the form that a server sets a cookie in the 
client, thus initating a session. A quick glance in ./wap/wsp_headers.c shows:

struct headerinfo headerinfo[] =
    {
        ...
        { WSP_HEADER_CONTENT_ID, wsp_pack_quoted_text, 0},
        { WSP_HEADER_ENCODING_VERSION, wsp_pack_version_value, 0 }
        // DAVI { WSP_HEADER_SET_COOKIE, pack_version_value, 0 }
    };

Anyone knows why this? How can cookies and sessions be set if Set-Cookie is 
disabled?

Thanx,
Nikos

Reply via email to