Re: the editor doesn't seem to pass its content through POST

  •  09-27-2006, 9:31 AM

    Re: the editor doesn't seem to pass its content through POST

    Hi all

    I have the same problem with CuteEditor in my application. It works with MSIE but not with Firefox.
    The cutesoft demo works fine in both editors.


    The CuteEditor is used in ASP as follows:
            Set editor = New CuteEditor
            editor.ID = "xtextbox"
            editor.Text = ""
            editor.FilesPath = "../../../include/external/CuteEditor_Files"
            editor.MediaGalleryPath = "../../images"
            editor.FlashGalleryPath = "../../images"
            editor.TemplateGalleryPath = "../../images"
            editor.FilesGalleryPath = "../../images"
            editor.ImageGalleryPath = "../../images"
            editor.Draw()

    Here is the request logged withe the HTTP Debugger (fiddler) for both browser.

    IE:

    POST /Watch5/UpApplications/UpTables/tabletest/__UpDataPump.asp?rq_strIdStack=-1&rq_lAppId=255&rq_lTargetId=2953&rq_lSenderId=2951&rq_lMode=4&rq_lLevelCount=-1&rq_strTarget=00&rq_bDelete=0&rq_bBack=0&rq_lClosePopUp=0&rq_lReloadOpener=0&rq_bIsPopup=0 HTTP/1.1
    Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
    Referer: http://ent03/Watch5/UpApplications/UpTables/tabletest/editform.asp?rq_strIdStack=-1&rq_lAppId=255
    Accept-Language: de-ch,de;q=0.7,en-us;q=0.3
    Content-Type: multipart/form-data; boundary=---------------------------7d69f174e0624
    Accept-Encoding: gzip, deflate
    User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET CLR 1.1.4322)
    Host: ent03
    Content-Length: 1244
    Proxy-Connection: Keep-Alive
    Pragma: no-cache
    Cookie: UserName=administrator; SelectedLCID=1031; UpGantt%5F254=ZoomFaktor=50; CookieCheckup=Intrapact; ASPSESSIONIDCCDACTDT=CNCFNAJAFFDJLBPAMFEIMKFB
    X-ProcessAndThread: iexplore.exe [1940; 3888]

    -----------------------------7d69f174e0624
    Content-Disposition: form-data; name="fr_strMailSendTo"


    -----------------------------7d69f174e0624
    Content-Disposition: form-data; name="lid"

    -1
    -----------------------------7d69f174e0624
    Content-Disposition: form-data; name="dtedit"

    27.09.2006 16:19:52
    -----------------------------7d69f174e0624
    Content-Disposition: form-data; name="dtcreation"

    27.09.2006 16:19:52
    -----------------------------7d69f174e0624
    Content-Disposition: form-data; name="luserid"

    1
    -----------------------------7d69f174e0624
    Content-Disposition: form-data; name="lcreatorid"

    1
    -----------------------------7d69f174e0624
    Content-Disposition: form-data; name="lownerid"

    -1
    -----------------------------7d69f174e0624
    Content-Disposition: form-data; name="leditid"

    -1
    -----------------------------7d69f174e0624
    Content-Disposition: form-data; name="lviewid"

    -1
    -----------------------------7d69f174e0624
    Content-Disposition: form-data; name="xname"

    Test MSIE
    -----------------------------7d69f174e0624
    Content-Disposition: form-data; name="xtextbox"

    <span style="FONT-FAMILY: Arial">This is a Text in the CuteEditor.</span>

    -----------------------------7d69f174e0624--

    Firefox (you can see, the part for hte field xtextbox is empty):
    OST /Watch5/UpApplications/UpTables/tabletest/__UpDataPump.asp?rq_strIdStack=-1&rq_lAppId=255&rq_lTargetId=2953&rq_lSenderId=2951&rq_lMode=4&rq_lLevelCount=-1&rq_strTarget=00&rq_bDelete=0&rq_bBack=0&rq_lClosePopUp=0&rq_lReloadOpener=0&rq_bIsPopup=0 HTTP/1.1
    Host: ent03
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7
    Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
    Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 300
    Proxy-Connection: keep-alive
    Referer: http://ent03/Watch5/UpApplications/UpTables/tabletest/editform.asp?rq_strIdStack=-1&rq_lAppId=255
    Cookie: CookieCheckup=Intrapact; UserName=administrator; ASPSESSIONIDCCDACTDT=BNCFNAJAFMPDGAMOHEIAMKBE
    Content-Type: multipart/form-data; boundary=---------------------------23281168279961
    Content-Length: 1184

    -----------------------------23281168279961
    Content-Disposition: form-data; name="fr_strMailSendTo"


    -----------------------------23281168279961
    Content-Disposition: form-data; name="lid"

    -1
    -----------------------------23281168279961
    Content-Disposition: form-data; name="dtedit"

    27.09.2006 16:24:29
    -----------------------------23281168279961
    Content-Disposition: form-data; name="dtcreation"

    27.09.2006 16:24:29
    -----------------------------23281168279961
    Content-Disposition: form-data; name="luserid"

    1
    -----------------------------23281168279961
    Content-Disposition: form-data; name="lcreatorid"

    1
    -----------------------------23281168279961
    Content-Disposition: form-data; name="lownerid"

    -1
    -----------------------------23281168279961
    Content-Disposition: form-data; name="leditid"

    -1
    -----------------------------23281168279961
    Content-Disposition: form-data; name="lviewid"

    -1
    -----------------------------23281168279961
    Content-Disposition: form-data; name="xname"

    Test Firefox
    -----------------------------23281168279961
    Content-Disposition: form-data; name="xtextbox"


    -----------------------------23281168279961--

    I hope the log helps.

    Best regards

    Daniel

View Complete Thread