Volleynerd Knowledge Base

Saturday, May 14, 2005

Refresh Meta Tag


I was uploading something to MS yesterday at work, and was looking at their HTML upload progress page.

<meta http-equiv="refresh" content="2,progressbar.aspx?ProgressID=85244142">

I didn't know there can be more to the content attribute than just the interval (2 seconds here). It seems that the rest of the data is just the URL.

It's fairly obvious what they're doing, just hitting a URL that will lookup the "progress" for a given ID.

(wonder *how* they find progress -- looking at the uploading file on disk, and seeing how much of the file they have, or the code that's doing the transfering is updating DB or other state somewhere...)



Comments: Post a Comment

Home