Jump to content

hello-need advice


DanDaBeginner

Recommended Posts

hello,

I need advice on this one:

 

im planning to have an instant messaging on my site using AJAX, PHP and MYSQL... the flow is

-when the user logsin theres a AJAX request for every 30 seconds on check.php that connects to table_instant_messaging to know whether theres a request or not-if there is a request then a pop-up message will apprear to the recepient user with an option to accept or not

 

- in making a request - it will insert to the table_instant_messaging with the user_id of the requestor and with the user_id of the recepient and also the message field is included here..

 

1. now my question is - will the request of every 30 seconds on the table_instant_messaging can slow down the connection?

 

2.  regarding about the flow- is this the professional and traditinional way of handling this kind of system?

 

any help would be greatly appreciated.. thanks in advance..

Link to comment
Share on other sites

  • 2 weeks later...
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.