tags:

views:

8

answers:

0

Hy!

When I login with my flex app and then I want to get the cookie of the session it returns null. But if I set with flex another var and the I get it back it works.

// The cookie name is "DgU00" and I do like this:
var SID:* = CookieUtil.getCookie("DgU00");
// SID = null

// if I do:
CookieUtil.setCookie("DgU01", "abcd", 4);
var SID2:* = CookieUtil.getCookie(‘DgU00′);
// SID2 = ‘abcd’

If I go into the firefox to try delete single cookie I get the "DgU00" cookie and it has contents. And I find the "DgU01" cookie. They both have the same value and still doesn't work :s

why?