[mimp] Condensing login page

David Nelson horde at david-nelson.com
Wed May 28 15:39:33 PDT 2003


This may help define more of what the problem is.  I found this on a
developer tech support board for my phone provider - it was a response to a
question about the same error message I was seeing.  Any easy way to reduce the
header size below 200 bytes?
 
<Begin Included Text>
 
You are probably encountering this error
because UP.Browser 4.1x sometimes does not handle 
extra-long HTTP headers in any part of a Web
transaction that exceeds 200 bytes very well. 

A temporary work-around might be to check the 
length/size of the HTTP Header in your source 
code when redirecting for UP.Browser 4.1x.
 
If the HTTP header size is greater than 200 
bytes reduce the HTTP Header size and check to 
see if the new size is less-than or equal 200 
bytes before sending it along.

Try keeping the HTTP Header size at approximately 
200 bytes or less when doing redirection based on 
UP.Browser 4.1x

Rgds
Michael Adeniji

Nextel Developer Technical Support
Email: Developer_support at nextel.com

> 
> 
> 
> 
> Quoting David Nelson <horde at david-nelson.com>:
> 
> > My previous problem seems to have solved itself and I'm not sure why. 
> > Anyway...
> > I'm still getting a Data too Large error on my phone.  I removed the MOTD
> > stuff
> > to try to condense the login page a little. 
> > 
> > Is there anything I can tweak to condense the login page a little more? 
> > Seems
> > there is a lot of header information that may not be needed.  When I run
> > WinWap
> > Pro and view the source I see this:
> > 
> > HTTP/1.1 200 OK
> > Date: Wed, 28 May 2003 02:42:25 GMT
> > Server: Apache/1.3.27 (Unix)  (Red-Hat/Linux) mod_ssl/2.8.12
> OpenSSL/0.9.6b
> > DAV/1.0.3 PHP/4.2.2 mod_perl/1.26 mod_jk
> > X-Powered-By: PHP/4.2.2
> > Expires: Thu, 19 Nov 1981 08:52:00 GMT
> > Cache-Control: no-store, no-cache, must-revalidate, post-check=0,
> > pre-check=0
> > Pragma: no-cache
> > Vary: Accept-Language
> > Content-location:
> >
>
/horde/mimp/login.php?Horde=210df67fafbf51406a7768fa0602f070&amp;url=%2Findex.php%3FHorde%3D210df67fafbf51406a7768fa0602f070&amp;&munq=0b42e49e919fa5e0b3dbd226f1accb9c
> > Connection: close
> > Content-Type: text/vnd.wap.wml; charset=utf-8
> > --[ HEADER END ]------
> > <?xml version="1.0"?>
> > <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
> > "http://www.wapforum.org/DTD/wml_1.1.xml"><wml><head><meta
> > http-equiv="Cache-Control" content="must-revalidate" forua="true"/><meta
> > http-equiv="Cache-Control" content="no-cache" forua="true"/><meta
> > http-equiv="Cache-Control" content="max-age=0" forua="true"/><meta
> > http-equiv="Expires" content="0" forua="true"/><meta http-equiv="Pragma"
> > content="no-cache" forua="true"/></head><card title="Log in"><p>Welcome to
> > Horde</p>
> > <p>Username<input emptyok="true" format="*M" type="text" name="_imapuser"
> > value=""/></p>
> > <p>Password<input emptyok="true" format="*M" type="password" name="_pass"
> > value=""/></p>
> > <p><anchor title="Log in">Log in<go
> > href="redirect.php?Horde=210df67fafbf51406a7768fa0602f070"
> > method="post"><postfield name="" value="Log in"/><postfield name="Horde"
> > value="210df67fafbf51406a7768fa0602f070"/><postfield name="imapuser"
> > value="$(_imapuser)"/><postfield name="pass" value="$(_pass)"/><postfield
> > name="actionID" value=""/></go></anchor>
> > </p>
> > </card></wml>
> > 
> > Thanks!
> > David
> > 
> > -------------------------------------------------
> > This mail sent through IMP: http://horde.org/imp/
> > 
> > -- 
> > mimp mailing list
> > Frequently Asked Questions: http://horde.org/faq/
> > To unsubscribe, mail: mimp-unsubscribe at lists.horde.org
> > 
> 
> 
> 
> 
> -------------------------------------------------
> This mail sent through IMP: http://horde.org/imp/
> 




-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/


More information about the mimp mailing list