acctman |
10-11-2005 08:52 PM |
Any PHP/Mysql coders quick question.
My coder hasn't woke up yet he's in england, but I can someone tell me if this will work. This is what i'll be asking if to do if possible.
i'm starting to have a mysql connection error Too Many Connections. I've been doing some server tweaks to help it out but looks like I may need to increase the server ram from 2gig to 3gigs. but before i make that purchase I was wondering if you can tweak the script again. what appears to be happening is that mysql is keeping the user connection open for 10mins before timeout from no activity. Which is used for the Online User Status. is there a way to pass that on to a browser cookie? so it will log the user name into the Online User field in the db and remove the user when the browser cookie session ends (via browser close/site change)?
|