![]() |
Cookie coders...?
anyone good with cookies? i need a cookie made that will close a database connection once a user leaves the site and closes his/her browser window.
please leave contact info or your website thanks. |
A cookie in itself does not in any way have access to the database. A cookie can only contain whatever data you choose to store in it, and that is all it can do.
What you are trying to do would need a server side programming or scripting language like PHP or ASP or C or something similar. |
shouldnt you be closing the connection after each query?
|
Quote:
|
well
as long you request it in php jsp or pure java i can do it no prob:) icq 20196017 msn [email protected] |
Quote:
yeah exactly |
thanks for the info. I have the i-rater script, its pretty much a nice script but the database connection is crappy. it remains open and doesn't close properly thus resulting in mysql crashing when too many people visit the site.
yes is should close after every query, but i guess the people at i-rater.com didn't think of that resulting in this problem. that setup up a timer to close database connections stupid if you ask me. i spoke to them about this but they just keep blowing me off. |
hmm, you should have a custom solution built. irater was made for a few hundred connections at a time max..
|
All times are GMT -7. The time now is 10:13 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123