close Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Changes between Version 3 and Version 4 of SessionState


Ignore:
Timestamp:
Nov 6, 2009, 6:30:50 PM (12 years ago)
Author:
cmlenz
Comment:

Note about JSON limitations

Legend:

Unmodified
Added
Removed
Modified
  • SessionState

    v3 v4  
    2727}}}
    2828
     29Because all session data is serialized to [http://json.org/ JSON] for transmission, only the basic data types supported by JSON are allowed: strings, integers, floats, and booleans, as well as lists and dictionaries. I consider this an advantage, as it forces you to decouple session data from the classes and data structures used in the application code. Also, the JSON serialization is often significantly more compact than e.g. `pickle`.
     30
    2931== API Documentation ==
    3032