×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Apr 2003
    Posts
    1

    Internet Toolkit V3.1 and cookie path

    Hi,

    I'm using the Nokia Wap Toolkit V3.1. The path of a cookie is not well interpreted by the Toolkit, so cookies aren't well forwarded.

    Example :
    1) Request 1 :
    http://www.domain.com/n/abc/def
    The servlet processing this request, set a cookie "myCookie" with the path "/". In the cookie's panel, the path of the cookie "myCookie" is "/n/abc/def" !!!!!!!!! => PROBLEM

    2) Request 2 :
    http://www.zzzzz.com
    Cookie isn't included in the header of the request => normal.

    3) Request 3 :
    http://www.domain.com/M/tuv/xyz
    The cookie's path was set to "/", the cookie must be sent by the browser because the requested domain is the same.
    But the tookit interpreted the cookie's path as "n/abc/def". Because the URI requested isn't matched with the cookie's path, the toolkit didn't include the cookie "myCookie" in the header.


    Anybody knows is a fix exists?
    Thank's.

  2. #2
    Registered User
    Join Date
    Apr 2003
    Posts
    11
    Hi,

    the next version of the Toolkit (actually NMB (Nokia Mobile Browser) to be more precise, since cookie handling is done by the browser, the Toolkit just displays what's going on) will have a new cookie handling engine and all cookie problems will hopefully be corrected. You just have to wait another month or so. Until then you can use real phone SDKs (also freely downloadable), like the 7210 SDK. This will probably have a more or less bugfree cookie engine, but the stored cookies will not be shown by Toolkit.

    Tamas

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×