Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Nov 2006
    Posts
    106
    Thanks
    0
    Thanked 0 Times in 0 Posts

    checking number of queries?

    Is there any way to check to see where a user is in there threshold of max queries per hour?

  • #2
    New Coder
    Join Date
    Jan 2007
    Posts
    24
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Per hour? What do you mean by "queries"? Do you mean, they can post a certain amount of comments by hour? (1 comment is 1 query.) Also, I'm not exactly sure how to do it, but I do know how to allow people depending upon what time it is. (I'm sure I can find out though.)
    Last edited by ConnorB; 01-25-2007 at 04:02 AM.

  • #3
    Regular Coder
    Join Date
    Nov 2006
    Posts
    106
    Thanks
    0
    Thanked 0 Times in 0 Posts
    In mysql you can set a variable to limit the number of connections per hour, queries per hour etc.. that a person is allowed to make against a given database.
    Is there a way to check to see at any given point where that user is in relation to this limit?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •