farnulfo / ai-contest

Automatically exported from code.google.com/p/ai-contest
0 stars 0 forks source link

Patch to reduce number of mysql connections #137

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Current session implementation of website connects to mysql to validate 
username and password and to get some information about user (username, 
password, user_id, admin) on each request.

This patch stores user details in session and mysql connection isn't created in 
pages with static content.

Original issue reported on code.google.com by naktibalda@gmail.com on 12 Sep 2010 at 8:23

Attachments:

GoogleCodeExporter commented 8 years ago
Nice, naktibalda. When I get off work, I'll add this.

Original comment by danie...@gmail.com on 13 Sep 2010 at 10:26

GoogleCodeExporter commented 8 years ago
I've added this to the site code. Just waiting for a code review.

Original comment by danie...@gmail.com on 13 Sep 2010 at 5:19