Tizen 2.4 Set-Cookie Header Parsing Issue

Original Created May 08, 2018 | Regeneration Apr 22, 2026

In Tizen 2.4, there appears to be a bug where multiple Set-Cookie headers are being incorrectly merged into a single cookie.

For example, when sending the following headers (as shown in the MDN example):

Set-Cookie: name=value
Set-Cookie: name2=value2

The Tizen 2.4 platform (specifically on SSSP 4 TV) incorrectly combines these into a single cookie, rather than maintaining them as separate cookies. This behavior differs from standard HTTP cookie handling.

Problem Understanding

The issue occurs when a server sends multiple Set-Cookie headers in a response. While standard HTTP implementations would process these as separate cookies, Tizen 2.4 incorrectly merges them into a single cookie value. This affects web applications running on Tizen 2.4 devices, particularly Samsung Smart TVs (SSSP 4 TV model).

Solution Methods

  1. Test with different cookie formats: As suggested in the answers, try various cookie combinations to confirm the behavior:

    Set-Cookie: a=apple; expires=Wed, 09 May 2018 12:30:00 GMT
    Set-Cookie: b=ball
    
  2. Report the bug: Since this appears to be a platform-specific issue, you should:

    • File a bug report on the Tizen bug tracker
    • Include detailed reproduction steps and examples
    • Share the bug report link in this thread for tracking
  3. Workaround options:

    • Consider using a single cookie with multiple values if possible
    • Implement cookie handling in JavaScript as an alternative

Code Examples

Example of testing different cookie formats:

HTTP/1.1 200 OK
Content-Type: text/html
Set-Cookie: test1=value1
Set-Cookie: test2=value2; Expires=Wed, 09 May 2018 12:30:00 GMT

Additional Tips

  • This issue appears specific to Tizen 2.4 and may not affect newer versions
  • When reporting bugs, include:
    • Exact Tizen version
    • Device model
    • Complete reproduction steps
    • Expected vs actual behavior
  • Monitor the bug report for updates and potential fixes

Customize your cookie preferences

You can enable or disable non-essential cookies. Essential cookies are always on to ensure the site works properly and to keep you signed in.

Necessary

These cookies are necessary for the website to function properly and cannot be switched off. They help with things like logging in and setting your privacy preferences.

Always on

Analytics

These cookies help us improve the site by tracking which pages are most popular and how visitors move around the site.

Enable analytics cookies
Public Forum Public Forum
Employees only. Please sign in with your company account.