Tagged: ajax
Hello,
is it possible to autoupdate using ajax the list of the recent users that have visited current profile using the shortcode (without refreshing the page)?
for a very big website will it show down the ymsql to keep the list of all the users that they have visited? where do you store them?
Thank YouHi Brincy,
Thank you for the question.1. No, We do not auto update it via ajax. It will not be efficient as you will need to keep long polling for the updates. If you want, you can do it on your own or hire us to customize it for you.
2.We store the visits efficiently in a separate table. For a site win ‘n’ users, there will be at most nxn rows(in the extreme case).
We store 1 entry for visitor to visited and only increment the count of visit/date visited for the subsequent visits. I do not see any issue with a large site.Hope that clarifies.
Regards
Brajesh
You must be logged in to reply to this topic.