Pure ASP Upload 2 Support Product Page

This topic is locked
This topic was archived

got a bug...

Reported 01 Aug 2002 07:41:05
1
has this problem
01 Aug 2002 07:41:05 Oscar Orihuela posted:
I am using version 2.09 with add on pack, and am having a problem with the image size restrictions. The scenario is like below:

User attempts to upload image that is larger than dimension limits. So user resizes image to appropriate dimensions and attempts to reupload. Alert still warns them that the file is too large. If they change the name of the file from that of the larger image, then it works fine. It also works like this when going the other way. If user uploads an image that is smaller than dimension limits, it works ok, but if user makes image larger and saves it as smae image name, it still allows it to upload, even though it is now larger that the limit. Looking at the code, it seems that the size restrictions are all done in javascript, which wouldn't mean anything is being cached on the server.


Any ideas what may be causing this problem.
Oscar
}<img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>

Replies

Replied 01 Aug 2002 10:18:08
01 Aug 2002 10:18:08 George Petrov replied:
Yes but the problem is - because the size checking is done clientside in javascript - the image is loaded in the browser to check its size.

The browser then caches the image, and when another one is loaded with the same name it reuses the old one.

I'm looking for a solution but haven't found any yet.

Greetings,
George

-----------------------------------------------
George Petrov - Co-Founder, www.UDzone.com
The site for Macromedia
Dreamweaver UltraDev Developers!
-----------------------------------------------

Reply to this topic