1. *** New version of B4J is available ***
    B4J v7.8
    Dismiss Notice

http help needed

Discussion in 'Questions (Windows Mobile)' started by Cableguy, Jan 25, 2009.

  1. Cableguy

    Cableguy Expert Licensed User

    Hi guys....

    I'm still hitting a wall in my attempt to a "DllToDate" app....

    I have the folowing sub in my code..
    Public Sub Licensed
    Msgbox(Controls.WRequest.ResponseCode,"Server Response")
    End Sub
    When I execute this, the user is in a logged in state...
    The server response is as expected, 200...
    But I get a -1 contentlength from the response...

  2. Cableguy

    Cableguy Expert Licensed User

    Continuing testing, used my avatar "Url" as a target and also added a "contentype" msgbox...
    Form my avatar I get a length of +-2kb and a contenttype "image/Gif"
    But form any other file, even in a non user restricted area, I always get the default contenttype of "text/html"...
    Any Ideas?
  3. Mr_Gee

    Mr_Gee Active Member Licensed User

    maybe because it is served by a php page which can act as anything...
    what happens if you save the stream e.g. what is the text
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice