A generic Web Cookie handler class that can be used for a single 'UserId' in an application. This class manages all aspects of retrieving and setting of a cookie consistently. Typically all you'll need to do is call the GetId() method which both returns existing cookies and ensures that the cookie gets set.

All methods of this class are static which is the reason why only a single Cookie can be managed at a time. The idea is that you can use this single cookie as an application global Cookie to track a user and then retrieve additional storage information from other locations (like a database or session).