Ok, its [EMAIL PROTECTED] here so if I say something stupid then forgive me.

I've had this happen to me and typically it is the fault of me doing
something wrong.

-saving to the wrong path.  
-permissions error on write.  This especially happens if you are
testing with the same page and same graphic over and over.  If you are
not very careful with disposing of the graphics resources you get
write errors.

Both are obvious mistakes but due to the amount of error handling that
typically comes with any upload code sometimes the error handler works
too well and a result is that the new file isn't saved and you just
get the old one.

Pretty easy to test this. Just make a change to the file then
re-upload and check what file is on the file system.

Hope I do not offend you by suggesting a simple mistake.  I find it is
the obvious ones that cause me the most hassle.

Chris Farrell







--- In [email protected], "Mike Belcher"
<[EMAIL PROTECTED]> wrote:
>
> I have a upload photo page and this allows a client to upload there
photo.
> What happens is that the user uploads the photo it is saved under
the same
> name then a response.redirect to the same page which then is updated
with
> the new photo displayed. But it shows the old one as apparently the
browser
> is caching it. I have in the html of the page:
> 
> 
>       <META http-equiv="Pragma" content="no-cache">
> 
> 
> But its seems to just blow that off. It isn't working. How can I get
it not
> to cache the image or at least REFRESH THE PAGE as that seems to
show the
> new image. It would be nice to nto allow the browser to cache the image.
> 
> 
> MIKE
>









------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/u8TY5A/tzNLAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to