A neat feature I just thought up for a webmail interface

Ok, so my mom just came over and asked me if she needed to refresh the webpage that showed her inbox to see if new mail had come.  I told her yes, she did, because the webpage wasn't automatically updated.

So, that in mind, what if I were to write up a little script that detected x minutes after there had been no user activity, and refreshed the webpage?  Or do 'modern' email pages do this already?  Is there a better way to judge when to refresh rather than user inactivity? 

The whole point of refreshing a page is to show when new mail comes in.  So you don't have to remember to refresh all the time. 

Tell me what you think, and maybe in a week or two I'll post some sample code. 

No comments: