in reply to logout button

Stop changing the cookie. Change a server side database, as I suggest in my oft-reference column on basic cookie management.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.