Fixed session cookie problem

Apparently, unless you set an expiration date, it's just a session cookie. The more you know.