WSP question

"Nikos Balkanas" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <000601c9840c$d281b680$02b2a8c0@tardis>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.