Results 1 to 12 of 12
  1.    #1  
    Hello everyone,
    I'm having two problems with the treo 600 an the treo 600 emulator. I hope that someone can help me.

    I'm developing an asp.net application that I want to view with the blazer browser on the treo 600.


    The first problem I have is with the emulator. When I Request a page this all goes well
    for example I request http://webtest/treotest/default.aspx (Webtest is our test server) I receive the page wich only contains an button inside a form. When this button is pressed the page is posted to the same page and my Button_Onclick event handler is executed and does a Response.Redirect( "test.aspx" );. This creates a response with a Location http header that states that the page is being redirected to test.aspx. This all works fine on any desktop browser. But when I request this page on the treo600 emulator I get the first page and I can get test.aspx. But when I request default.aspx and press the button it posts to the server but then it does nothing and after a while I get a timeout. It looks like the browser is waiting for an content body for the response with the location header. But this content never comes because the page is beeing redirected ( Following the HTTP specification ). The strange thing is that the page works correctly on the actual treo600.

    The second problem I have is more serious because the problem is on the actual treo600 so it affects our product. My application works fine until I decide to leave the blazer browser for looking in my agenda or something. When I return I first have to type my credentials again ( Can't this be stored? It is not verry comfortable when you have to type your password over and over again if you get called or you have to look in your agenda! ). After this the browser is trying to rerequest the last page and I get a .net exception stating that my viewstate is corrupt. I have done some research and it seams that blazer is posting again to the last page but sending the wrong post data with it. ( The data of the page I was viewing before I left blazer ). For example. I'm on page1.aspx and that contains a button and a hidden field containing my viewstate. When I press the button I post my page back to page1.asp and the server sends back a location header specifing that I have to get page2.aspx. This works good and the browser displays page2.aspx. Now when I go to my applications screen and go directly back to blazer the server asks my password again and starts to rerequest some page? ( Is there a possibility to cache this because I have no need to refresh my page! ). Then I get the viewstate error. When i watch the properties of the page I see that it is nog page2.aspx wich was requested but page1.aspx. I think that the information of Page2.aspx has been posted to page1.aspx. If the action that was taken was a GET action it could have never given a viewstate error because there was no data send to the page. Is this a know bug and is there a solution or a patch for it?

    Roy.
  2. #2  
    Sorry, I don't know the answer to your question, but hopefully someone else here will. In the meantime have you tried to post this on Handspring's developer forum?

    http://209.246.61.199/pe/index.jsp
    _________________
    aka Gfunkmagic

    Current device: Palm Pre
    Device graveyard: Palm Vx, Cassiopeia E100, LG Phenom HPC, Palm M515, Treo 300, Treo 600, Treo 650, Treo 700p, Axim X50v, Treo 800w



    Please don't PM me about my avatar. For more info go here.

    Restore your Pre to factory settings using webos doctor and follow these instructions
  3.    #3  
    Yes I already posted my topic there on the handspring forum and on the www.treomb.com forum
  4. #4  
    try the new eudora web browser..its much faster than blazer
  5. #5  
    Originally posted by athreya
    try the new eudora web browser..its much faster than blazer
    How does it handle graphics and javascript? The last version I tried didn't do well with graphics and couldn't support javascript at all.
  6. #6  
    Originally posted by athreya
    try the new eudora web browser..its much faster than blazer
    what do you mean "new" eudora browser? Is there something newer that 2.1, which itself is pretty old?

    Mark
  7.    #7  
    I have just tried Eudora Web Browser but it doesn't even support tables. Also I use some simple javascripts for input checking and that isn't supported bij Eudora as well. So I still have to use the blazer browser. On my older treo 270 I used Xiino for browser and this works fine but there is no xiino version that supports PalmOs 5.

    Is there someone that has another suggestion?
  8. #8  
    Instead of Response.Redirect, which sends a header directive to the browser, try Server.Redirect. This pushes the user to the page on the server, before anything goes to the browser. One potential problem, this sometimes throws an exception (see below), which you will have to catch and throw away.

    catch(System.Threading.ThreadAbortException ex)
    {
    //catching and swallowing exception raised when you Server.Transfer
    string s = ex.Message;
    }
  9. jaslo's Avatar
    Posts
    64 Posts
    Global Posts
    65 Global Posts
    #9  
    If you're using Basic Authentication, you can store the credentials in the URL using the syntax: http://userassword@server/path

    If you use this form of URL in a bookmark, it will not prompt for credentials when you load it.
    --jaslo
  10. jaslo's Avatar
    Posts
    64 Posts
    Global Posts
    65 Global Posts
    #10  
    Stupid forum interpreter -- this is what I meant:

    [HTML]http://userassword@server/path[/HTML]
    --jaslo
  11. #11  
    Quote Originally Posted by r.versteeg
    On my older treo 270 I used Xiino for browser and this works fine but there is no xiino version that supports PalmOs 5.
    Actually there is!! I use Xiino on my Treo600 all the time. Checkout the link below:


    http://www.mobirus.com/eng/products/xiino31e.html
    _________________
    aka Gfunkmagic

    Current device: Palm Pre
    Device graveyard: Palm Vx, Cassiopeia E100, LG Phenom HPC, Palm M515, Treo 300, Treo 600, Treo 650, Treo 700p, Axim X50v, Treo 800w



    Please don't PM me about my avatar. For more info go here.

    Restore your Pre to factory settings using webos doctor and follow these instructions
  12. #12  
    Quote Originally Posted by jaslo
    [html]http://userassword@server/path[/HTML]
    This is not working for me.

    I'm accessing an II6 webpage served behind an ISA firewall.

    Possibly the reason can be found here:

    RFC 1738 3.3
    An HTTP URL takes the form:
    http://<host>:<port>/<path>?<searchpart>
    This means that user : pass are not allowed as part of the URL.

    It's probably just as well, because I'd be passing my credentials in clear text:

    RFC 2396
    Some URL schemes use the format "user : password" in the userinfo
    field. This practice is NOT RECOMMENDED, because the passing of
    authentication information in clear text (such as URI) has proven to
    be a security risk in almost every case where it has been used.
    Last edited by xpanmanx; 09/14/2004 at 10:23 AM.

Posting Permissions