What is the Python (2.7) equivalent of the PHP $_POST, $_GET, $_SESSION and $_COOKIE, and how are they used ?

After almost 2 years of trying I have finally gotten Python to work on my WAMP server - only to find that it is severely lacking in web page functionality.

That covers CGI ... unfortuinatly does not cover how to transfer information from one web page to the next, nor how to set/retrieve cookies.