The following example demonstrates how to register a variable, and how to link correctly to another page using SID.
session.cookie_domain specifies domain to set in session_cookie. Default is none at all.