• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Push info from server to client?

#1
[eluser]Sven Delle[/eluser]
OK, does anyone know of any technique to push info from the server to a client (through some kind of 'pipe' - AJAX, hidden protocol, what have you)?

That would be nice to be able to do after a file upload finished ...

AJAX's been driving me nuts!

#2
[eluser]meigwilym[/eluser]
If you're using jQuery's ajax, it allows you to specify a success function. If you echo out some JSON this function can parse the output for your page.

Regards,

Mei

#3
[eluser]CroNiX[/eluser]
The only way is what meigwilyn suggests. Web servers don't push info...they only respond to requests.

#4
[eluser]Aken[/eluser]
There are push notification solutions available for web browsers, but that's not the solution you want for confirming a file upload.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.