Get ready for BLACK FRIDAY shopping starting in

Forums

This topic is locked

ASP Upload double Processing??

Posted 13 May 2003 12:37:21
1
has voted
13 May 2003 12:37:21 phil ashby posted:
I've got a page that contains 4 standard txt from fields and a possible 6 file fields for uploading. I assign the form contents to session variables within the ASP Upload code and then redirect to a page that takes the session variable and writes the data to the database. Sometimes (I can see no pattern) the data seems to duplicate, as if there are two fields on the form with the same name e.g a date field contains 12/06/2003, but the session variable is 12/06/2003,12/06/2003. It's as if the page is runnign twice?? Any ideas?

Replies

Replied 13 May 2003 14:34:31
13 May 2003 14:34:31 Patrick Woldberg replied:
Perhaps you could post the code as you use it or email it to me at

--------------------------------------------------
Patrick Woldberg
Web Developer at Dynamic Zones
Manager at DMXzone.com
--------------------------------------------------
Replied 14 May 2003 12:03:10
14 May 2003 12:03:10 euan green replied:
Hi,

I had exactly the same problem , see my post about copying and pasting problems. It seems to be that when you have asp upload behaviour on your page, and you have text areas that you copy and paste text from word or some other word processor, if there is an apostrophe in the text and you are running IE 5.x (IE6.0 seems ok) the entries are duplicated. Try your page by completely seperating the image uplaod from the text fields. Make sure you do not have the asp uplaod extension installed on the page that is just doing the capture of the text areas. A total pain to do this, but it was the only way I could get round it. Have not got a clue as to why the entries are duplicated, was hoping someone might enlighten me...

Euan

Replied 15 May 2003 10:26:12
15 May 2003 10:26:12 phil ashby replied:
Euan,

thanks for that - a life saver. I've split my form into two pages, one that does the standard form data - on this page I've put an uploads? tickbox. If they tick it, then it goes to page 2 which deals with the uploads. Now works fine.

Thanks
Phil

Reply to this topic