Hi guys. I have a php security issue that is caused by to many requests to the same file. Sometimes it semes like a request only gets prosessed half way thru before a new request trigges the same script again. Since I got alot of mysql_querys at the end of the file that depends on a mysql_query at the beginning. The database get swamped with content that should have been filtered out at the beginning for the code.
Is there any way to force that a request is completely prosessed before a new request is accepted?
To many requests at the same time
Moderator: General Moderators
- kaisellgren
- DevNet Resident
- Posts: 1675
- Joined: Sat Jan 07, 2006 5:52 am
- Location: Lahti, Finland.
Re: To many requests at the same time
PHP is not responsible for determining how many concurrent requests there can be.
I am not exactly sure what is your problem. Could you clarify the actual problem?
I am not exactly sure what is your problem. Could you clarify the actual problem?
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
Re: To many requests at the same time
Sounds like you need row locking, so only one instance is accessing the data at any given time. But yea, more info please.