Replaced the use of PHP Sessions with Cookies.