Stored the current cookie in a session variable