cookies… yum

November 9th, 2008

Ever since I built the site, I’ve been plagued by random logouts. Well no more!

Previously the members login area was controlled via cookies. These yummy cookies were supposed to allow a user to stay logged into the site for 3 hours. As mentioned previously, these cookies weren’t cooked properely, and for some reason randomly logged people out. Well, this weekend I spend some time changing over the login system to a session based system. No more bad cookies!

Overall I think the new system is working really well. I haven’t been inproperely logged out yet. However, there might still be some pages I’ve missed in updating. For example, my fiance just let me know that every time she tries updating her status, she’s taken to a login page. So I had to go in just now and fix that.

One nice thing about going through all the code this weekend was I had a chance to clean up some older, un-needed code. I’m not sure how many milliseconds it shaved off loading time, but I’m sure every little bit helps.

375 members. yay!

Leave a Reply