Google Groups Home
Help | Sign in
How to update messages tab on new message ?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
imoracle  
View profile
 More options Apr 18, 2:03 pm
From: imoracle <mailsforabhi...@gmail.com>
Date: Fri, 18 Apr 2008 11:03:03 -0700 (PDT)
Local: Fri, Apr 18 2008 2:03 pm
Subject: How to update messages tab on new message ?
Hello All,

On my website I have a message tab. I want to show a notification to
the user upon a new message.

One option is that I keep polling the server for new messages for the
user, but then what if he doesnt have a new message the whole day.

I want a method so that the polling processing starts for about 2
minutes, upon a new message.

But how do the client page know that there is a new message without
continuosly polling the server.

I guess gmail uses a similar thing.

Imoracle


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Phill-X  
View profile
 More options May 23, 4:51 am
From: Phill-X <gllphill...@gmail.com>
Date: Fri, 23 May 2008 01:51:26 -0700 (PDT)
Local: Fri, May 23 2008 4:51 am
Subject: Re: How to update messages tab on new message ?

Reverse AJAX is the best option to do this. Even though it is not
continuously asking server for an update it will maintain connection
with server(Similar AJAX technique) since the server can't send a
message to a web browser.

On Apr 18, 11:03 pm, imoracle <mailsforabhi...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google