Has anyone used any kind of push notifications using session cookies? What i would like to do here is everytime i upload a file or any image in the media section, a message appears on the default homepage of the website without having to refresh the page.
Anyone has an idea or any suggestion on how this can be done ?
The only thing is we have only 20days to deliver the website and we havent used v6.0 yet. I know this is a shame!! :) But were still using v4.11 and would love to move to v6.0 .
SignalR isn't dependant on Umbraco, its a third party thing. As far as I know, you can use it with v4.
The other option would be to write your own rest or /base method that checks for updated things in the media/content library and call it using a Javascript AJAX call that gets fired every so often. IF anything gets returned as being new, you could pop up a message.
Get Notifications on frontEnd
Hi,
Has anyone used any kind of push notifications using session cookies? What i would like to do here is everytime i upload a file or any image in the media section, a message appears on the default homepage of the website without having to refresh the page.
Anyone has an idea or any suggestion on how this can be done ?
Maybe it's possible to do something like that with SignalR.
On the Save/Create method of a media item broadcast a message with SingalR and fetch it with js on the frontend.
That's my first thought about the problem.
I'd agree with David that this sounds like something that SignalR would be ideal for. Here's a simple example which is kind of what your after (but not Umbraco specific): http://www.code-magazine.com/articleprint.aspx?quickid=1210071&printmode=true
Hope that helps!
Thanks Guys,
The only thing is we have only 20days to deliver the website and we havent used v6.0 yet. I know this is a shame!! :) But were still using v4.11 and would love to move to v6.0 .
Any other suggestions ?
Hiya,
SignalR isn't dependant on Umbraco, its a third party thing. As far as I know, you can use it with v4.
The other option would be to write your own rest or /base method that checks for updated things in the media/content library and call it using a Javascript AJAX call that gets fired every so often. IF anything gets returned as being new, you could pop up a message.
is working on a reply...