<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Web Wiz Support and Community Forums : Possible Bug???</title>
  <link>https://forums.webwiz.net/</link>
  <description><![CDATA[This is an XML content feed of; Web Wiz Support and Community Forums : Web Wiz Forums : Possible Bug???]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 07 Apr 2026 18:34:15 +0000</pubDate>
  <lastBuildDate>Mon, 26 Jan 2004 18:06:53 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.08</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://forums.webwiz.net/RSS_post_feed.asp?TID=9228</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Web Wiz Support and Community Forums]]></title>
   <url>https://forums.webwiz.net/forum_images/web_wiz_forums.png</url>
   <link>https://forums.webwiz.net/</link>
  </image>
  <item>
   <title><![CDATA[Possible Bug??? : I&amp;#039;ve never had the server...]]></title>
   <link>https://forums.webwiz.net/possible-bug_topic9228_post49281.html#49281</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=15065">engla001</a><br /><strong>Subject:</strong> 9228<br /><strong>Posted:</strong> 26&nbsp;January&nbsp;2004 at 6:06pm<br /><br />I've never had the server crash on large postings.&nbsp; They aren't posting books on here.&nbsp; I know this program can safely handle 5 - 7 (single spaced)&nbsp;page papers.]]>
   </description>
   <pubDate>Mon, 26 Jan 2004 18:06:53 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/possible-bug_topic9228_post49281.html#49281</guid>
  </item> 
  <item>
   <title><![CDATA[Possible Bug??? :   -boRg- wrote:Another problem...]]></title>
   <link>https://forums.webwiz.net/possible-bug_topic9228_post49270.html#49270</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=13756">thekiwi</a><br /><strong>Subject:</strong> 9228<br /><strong>Posted:</strong> 26&nbsp;January&nbsp;2004 at 5:13pm<br /><br /><P><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by -boRg-" alt="Originally posted by -boRg-" style="vertical-align: text-bottom;" /> <strong>-boRg- wrote:</strong><br /><br />Another problem that you may find is that ASP suffers from a 100kb buffer for it's response object.<BR><BR>It is the response object that holds many details such as browser headers, cookies, querystrings, etc. and most importently anything submitted from a form.<BR><BR>This means that if a post is to large it will course the server to crash. </P><P></td></tr></table></P><P>Hmm .... it will cause the ASP page to fail with an error, but in al the cases where Ive seen this occur (even had some of my own pages do it) Ive never had it cause the server to crash ...</P><P><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Quote" alt="Quote" style="vertical-align: text-bottom;" /> <BR><BR>There is nothing in the code to prevent this as forum posts aren't meant to be essays, also as the amount of data in the response object depends on many different things that are effected on a site by site, page by page, baises, there is no way of telling how large a post can be.<BR><BR>It maybe a better option to enable file uploading for your students in posts then get them to upload the word document to the server in the post. Then all you need do is click the link in the post to the uploaded word doc to veiw it.<BR></td></tr></table> </P><P>You can get past this "limitation" in the HTTP posting by adding the following:</P><P>1) Add the following to a page called _largeform.asp</P><P><table width="99%"><tr><td><pre class="BBcode"><BR>&lt;SCRIPT LANGUAGE=VBScript RUNAT=Server&gt;<BR>'Process of x-www-form-urlencoded POST data</P><P>Function GetForm<BR>&nbsp; 'Dictionary which will store source fields.<BR>&nbsp; Dim FormFields<BR>&nbsp; Set FormFields = CreateObject("Scripting.Dictionary")</P><P>&nbsp; 'If there are some POST source data<BR>&nbsp; If Request.Totalbytes&gt;0 And _<BR>&nbsp;&nbsp;&nbsp; Request.ServerVariables("HTTP_CONTENT_TYPE") = _<BR>&nbsp;&nbsp;&nbsp; "application/x-www-form-urlencoded" Then</P><P>&nbsp;&nbsp;&nbsp; 'Read the data<BR>&nbsp;&nbsp;&nbsp; Dim SourceData<BR>&nbsp;&nbsp;&nbsp; SourceData = Request.BinaryRead(Request.Totalbytes)</P><P>&nbsp;&nbsp;&nbsp; 'Convert source binary data To a string<BR>&nbsp;&nbsp;&nbsp; SourceData = RSBinaryToString(SourceData)</P><P>&nbsp;&nbsp;&nbsp; 'Form fields are separated by "&amp;"<BR>&nbsp;&nbsp;&nbsp; SourceData = split(SourceData, "&amp;")<BR>&nbsp;&nbsp;&nbsp; Dim Field, FieldName, FieldContents<BR>&nbsp; <BR>&nbsp;&nbsp;&nbsp; For Each Field In SourceData<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'Field name And contents is separated by "="<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Field = split(Field, "=")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FieldName = URLDecode(Field(0))<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FieldContents = URLDecode(Field(1))<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'Add field To the dictionary<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FormFields.Add FieldName, FieldContents<BR>&nbsp;&nbsp;&nbsp; Next<BR>&nbsp; end if'Request.Totalbytes&gt;0<BR>&nbsp; Set GetForm = FormFields<BR>End Function</P><P>Function URLDecode(ByVal What)<BR>'URL decode Function<BR>'2001 Antonin Foller, PSTRUH Software, <A href="http://www.pstruh.cz" target="_blank">http://www.pstruh.cz</A><BR>&nbsp; Dim Pos, pPos</P><P>&nbsp; 'replace + To Space<BR>&nbsp; What = Replace(What, "+", " ")</P><P>&nbsp; on error resume Next<BR>&nbsp; Dim Stream: Set Stream = CreateObject("ADODB.Stream")<BR>&nbsp; If err = 0 Then 'URLDecode using ADODB.Stream, If possible<BR>&nbsp;&nbsp;&nbsp; on error goto 0<BR>&nbsp;&nbsp;&nbsp; Stream.Type = 2 'String<BR>&nbsp;&nbsp;&nbsp; Stream.Open</P><P>&nbsp;&nbsp;&nbsp; 'replace all %XX To character<BR>&nbsp;&nbsp;&nbsp; Pos = InStr(1, What, "%")<BR>&nbsp;&nbsp;&nbsp; pPos = 1<BR>&nbsp;&nbsp;&nbsp; Do While Pos &gt; 0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Stream.WriteText Mid(What, pPos, Pos - pPos) + _<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Chr(CLng("&amp;H" &amp; Mid(What, Pos + 1, 2)))<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pPos = Pos + 3<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Pos = InStr(pPos, What, "%")<BR>&nbsp;&nbsp;&nbsp; Loop<BR>&nbsp;&nbsp;&nbsp; Stream.WriteText Mid(What, pPos)</P><P>&nbsp;&nbsp;&nbsp; 'Read the text stream<BR>&nbsp;&nbsp;&nbsp; Stream.Position = 0<BR>&nbsp;&nbsp;&nbsp; URLDecode = Stream.ReadText</P><P>&nbsp;&nbsp;&nbsp; 'Free resources<BR>&nbsp;&nbsp;&nbsp; Stream.Close<BR>&nbsp; Else 'URL decode using string concentation<BR>&nbsp;&nbsp;&nbsp; on error goto 0<BR>&nbsp;&nbsp;&nbsp; 'UfUf, this is a little slow method. <BR>&nbsp;&nbsp;&nbsp; 'Do Not use it For data length over 100k<BR>&nbsp;&nbsp;&nbsp; Pos = InStr(1, What, "%")<BR>&nbsp;&nbsp;&nbsp; Do While Pos&gt;0 <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; What = Left(What, Pos-1) + _<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Chr(Clng("&amp;H" &amp; Mid(What, Pos+1, 2))) + _<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Mid(What, Pos+3)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Pos = InStr(Pos+1, What, "%")<BR>&nbsp;&nbsp;&nbsp; Loop<BR>&nbsp;&nbsp;&nbsp; URLDecode = What<BR>&nbsp; End If<BR>End Function</P><P><BR>Function RSBinaryToString(Binary)<BR>&nbsp; 'Antonin Foller, <A href="http://www.pstruh.cz" target="_blank">http://www.pstruh.cz</A><BR>&nbsp; 'RSBinaryToString converts binary data (VT_UI1 | VT_ARRAY)<BR>&nbsp; 'to a string (BSTR) using ADO recordset<BR>&nbsp; <BR>&nbsp; Dim RS, LBinary<BR>&nbsp; Const adLongVarChar = 201<BR>&nbsp; Set RS = CreateObject("ADODB.Recordset")<BR>&nbsp; LBinary = LenB(Binary)<BR>&nbsp; <BR>&nbsp; If LBinary&gt;0 Then<BR>&nbsp;&nbsp;&nbsp; RS.Fields.Append "mBinary", adLongVarChar, LBinary<BR>&nbsp;&nbsp;&nbsp; RS.Open<BR>&nbsp;&nbsp;&nbsp; RS.AddNew<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RS("mBinary").AppendChunk Binary <BR>&nbsp;&nbsp;&nbsp; RS.Update<BR>&nbsp;&nbsp;&nbsp; RSBinaryToString = RS("mBinary")<BR>&nbsp; Else<BR>&nbsp;&nbsp;&nbsp; RSBinaryToString = ""<BR>&nbsp; End If<BR>End Function<BR>&lt;/SCRIPT&gt;<BR></pre></td></tr></table></P><P>2) Add an include to the top of your page which processes the form submission<BR>&lt;!--#INCLUDE FILE="_largeform.asp"--&gt;</P><P>3) Add the following to the DIM area of your page:<BR>Dim FormFields<BR>Set FormFields = GetForm</P><P>4) THen use FormFields to get the data into local variables eg:<BR>' Get the form data into variables<BR>sReportTitle= FormFields("ReportTitle")</P><P>On a page I had where it was cut and paste from Word (with tables and everything) we often had the error of the post being too large.&nbsp; Since applying the above we can now post messages which are literally a couple of Mb in size.</P>]]>
   </description>
   <pubDate>Mon, 26 Jan 2004 17:13:26 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/possible-bug_topic9228_post49270.html#49270</guid>
  </item> 
  <item>
   <title><![CDATA[Possible Bug??? : Another problem that you may find...]]></title>
   <link>https://forums.webwiz.net/possible-bug_topic9228_post49261.html#49261</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=1">WebWiz-Bruce</a><br /><strong>Subject:</strong> 9228<br /><strong>Posted:</strong> 26&nbsp;January&nbsp;2004 at 4:34pm<br /><br />Another problem that you may find is that ASP suffers from a 100kb buffer for it's response object.<br><br>It is the response object that holds many details such as browserheaders, cookies, querystrings, etc. and most importently anythingsubmitted from a form.<br><br>This means that if a post is to large it will course the server to crash. <br><br>There is nothing in the code to prevent this as forum posts aren'tmeant to be essays, also as the amount of data in the response objectdepends on many different things that are effected on a site by site,page by page, baises, there is no way of telling how large a post canbe.<br><br>It maybe a better option to enable file uploading for your students inposts then get them to upload the word document to the server in thepost. Then all you need do is click the link in the post to theuploaded word doc to veiw it.<br>]]>
   </description>
   <pubDate>Mon, 26 Jan 2004 16:34:33 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/possible-bug_topic9228_post49261.html#49261</guid>
  </item> 
  <item>
   <title><![CDATA[Possible Bug??? : Ask your students to write it...]]></title>
   <link>https://forums.webwiz.net/possible-bug_topic9228_post49251.html#49251</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=6526">Mart</a><br /><strong>Subject:</strong> 9228<br /><strong>Posted:</strong> 26&nbsp;January&nbsp;2004 at 3:47pm<br /><br />Ask your students to write it into a HTML document then, that should cut and paste fine.]]>
   </description>
   <pubDate>Mon, 26 Jan 2004 15:47:27 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/possible-bug_topic9228_post49251.html#49251</guid>
  </item> 
  <item>
   <title><![CDATA[Possible Bug??? : If you cut and paste from Notepad...]]></title>
   <link>https://forums.webwiz.net/possible-bug_topic9228_post49248.html#49248</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=15065">engla001</a><br /><strong>Subject:</strong> 9228<br /><strong>Posted:</strong> 26&nbsp;January&nbsp;2004 at 3:43pm<br /><br /><P>If you cut and paste from Notepad you lose all of the formatting you did in Word.&nbsp; Doesn't that really defeat the purpose of the RTE?&nbsp; </P><P>The main reason I use Web Wiz is because it allows the cut-and-paste feature.&nbsp; If I wanted plain text I could use a simple CGI script.</P><P>For me, the RTE is crucial because students may have to italicize, underline, or bold in many places throughout the paper.&nbsp; Doing it in Word first is easier on my students.&nbsp; If they tried to write these lenghthy&nbsp; essays in the Post Reply box, they could be there for a while.&nbsp; If a student's ISP has the disconnect on idle feature, they can get cut off after 30 minutes or so of writing in the Post Reply box.</P><P>I know I am using the Web Wiz for purposes other than it was intended for but it serves me well.&nbsp; It is an awesome program for what we do with it.&nbsp; It helps me integrate the internet into my teaching and fosters classroom discussion.&nbsp; I can deal with only working within standard margins.&nbsp; This program is great.&nbsp; I have recommended it to many.</P>]]>
   </description>
   <pubDate>Mon, 26 Jan 2004 15:43:32 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/possible-bug_topic9228_post49248.html#49248</guid>
  </item> 
  <item>
   <title><![CDATA[Possible Bug??? : For relatively small documents...]]></title>
   <link>https://forums.webwiz.net/possible-bug_topic9228_post49153.html#49153</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=5818">Bluefrog</a><br /><strong>Subject:</strong> 9228<br /><strong>Posted:</strong> 26&nbsp;January&nbsp;2004 at 11:08am<br /><br /><P>For relatively small documents in DOC or RTF, RTF is smaller is it is pure text. DOC has an initial "bloat" size, but that quickly diminishes as documents become larger. Images in a document make RTFs massive, while barely affecting DOC files. Like always, it depends on the content a lot. </P><P>I rarely every use DOC or RTF anymore as&nbsp;I find HTML and TXT files much easier to work with and they have fewer compatibility problems (forgetting Netscrap 4.x-). Even for business documents, I use either TXT, HTML, or PDF. </P><P>I'd ask your students to use pure text. It is universal (almost) and by far the best choice of formats. </P><P>The easiest way is to cut and paste into Notepad (or other simple text editor like vi) and then copy and paste into the forum. </P><P>NB: HTML is a pure text format, while RTF is a 'text' format. </P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Mon, 26 Jan 2004 11:08:58 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/possible-bug_topic9228_post49153.html#49153</guid>
  </item> 
  <item>
   <title><![CDATA[Possible Bug??? : I found that if the doc is first...]]></title>
   <link>https://forums.webwiz.net/possible-bug_topic9228_post49033.html#49033</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=9949">dpyers</a><br /><strong>Subject:</strong> 9228<br /><strong>Posted:</strong> 25&nbsp;January&nbsp;2004 at 4:00pm<br /><br />I found that if the doc is first saved as a .rtf file (rich text file), it retains more formatting when pasted into rich text textboxes. But like Borg said, it's never 100%. The downside is that .rtf files tend to be huge compared to the same file saved as a .doc]]>
   </description>
   <pubDate>Sun, 25 Jan 2004 16:00:25 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/possible-bug_topic9228_post49033.html#49033</guid>
  </item> 
  <item>
   <title><![CDATA[Possible Bug??? : This is not a bug, more a incompatbility...]]></title>
   <link>https://forums.webwiz.net/possible-bug_topic9228_post49011.html#49011</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=1">WebWiz-Bruce</a><br /><strong>Subject:</strong> 9228<br /><strong>Posted:</strong> 25&nbsp;January&nbsp;2004 at 1:37pm<br /><br />This is not a bug, more a incompatbility problem between word and HTML.<br><br>Cutting and pasting from word into an RTE will never work 100%.<br><br>You are better asking your pupils to cut a paste from notepad, so no wrod formatting that can mess up HTML is caried across.<br>]]>
   </description>
   <pubDate>Sun, 25 Jan 2004 13:37:06 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/possible-bug_topic9228_post49011.html#49011</guid>
  </item> 
  <item>
   <title><![CDATA[Possible Bug??? : I am a teacher and I am using...]]></title>
   <link>https://forums.webwiz.net/possible-bug_topic9228_post49010.html#49010</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=15065">engla001</a><br /><strong>Subject:</strong> 9228<br /><strong>Posted:</strong> 25&nbsp;January&nbsp;2004 at 1:33pm<br /><br /><P>I am a teacher and I am using Web Wiz Guide as a forum for students to post their essays and response papers online.&nbsp; I have found a possible bug though when cutting and pasting from MS Word or other applications.&nbsp; </P><P>If you have a document in Word, for example, and it has non-standard margins...when you cut and paste into RTE, instead of wrapping or something, the text outside the standard margin size gets cut off.&nbsp; Does anyone have any ideas - other than the obvious - to use standard margins.</P><P>I have instructed my students to use standard margins but perhaps this is a bug to be fixed?</P><span style="font-size:10px"><br /><br />Edited by engla001</span>]]>
   </description>
   <pubDate>Sun, 25 Jan 2004 13:33:40 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/possible-bug_topic9228_post49010.html#49010</guid>
  </item> 
 </channel>
</rss>