Recent comments

You are here

Error message

  • Warning: count(): Parameter must be an array or an object that implements Countable in theme_table() (line 1878 of /home/lwvu15gt0rgr/public_html/Projects7/includes/theme.inc).
  • Warning: count(): Parameter must be an array or an object that implements Countable in theme_table() (line 1941 of /home/lwvu15gt0rgr/public_html/Projects7/includes/theme.inc).

sessions

How to make CherryPy sessions work

I have recently started development with the CherryPy framework to create a python based webserver. In pretty much any website with users you want to create sessions and CherryPy offers a great set of commands to manage user sessions. There is quite a bit of documentation provided about sessions and managing them, also some great code examples. However even with the code examples and searching with Google I found it rather difficult to figure out sessions despite my years of developing with PHP.

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer