28 Nov
2001
28 Nov
'01
8:17 p.m.
Robert Rottermann writes:
in a Python script I create a cookie that has as data a list with dictionaries. When I read that cookie back, this list is a string.
My question: Is there an easy way to change that string back to a list of dictionaries. Eval et al are disabled in scripts. The easiest way would be an External Method where you can use "eval".
Be careful to read something about "restricted execution" in the Python documentation. Otherwise, a malicious user could severely damage your server... You are aware, that browsers are allowed to truncate cookie values? Dieter