From horde at david-nelson.com Tue May 27 19:53:20 2003 From: horde at david-nelson.com (David Nelson) Date: Tue May 27 19:53:36 2003 Subject: [mimp] Condensing login page Message-ID: <1054090400.3ed424a05272e@mail.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&url=%2Findex.php%3FHorde%3D210df67fafbf51406a7768fa0602f070&&munq=0b42e49e919fa5e0b3dbd226f1accb9c Connection: close Content-Type: text/vnd.wap.wml; charset=utf-8 --[ HEADER END ]------

Welcome to Horde

Username

Password

Log in

Thanks! David ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ From horde at david-nelson.com Wed May 28 15:39:33 2003 From: horde at david-nelson.com (David Nelson) Date: Wed May 28 15:40:08 2003 Subject: [mimp] Condensing login page In-Reply-To: <1054161421.3ed53a0dc6ea9@mail.david-nelson.com> References: <1054090400.3ed424a05272e@mail.david-nelson.com> <1054161421.3ed53a0dc6ea9@mail.david-nelson.com> Message-ID: <1054161573.3ed53aa5bab3e@mail.david-nelson.com> 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? 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@nextel.com > > > > > Quoting David Nelson : > > > 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&url=%2Findex.php%3FHorde%3D210df67fafbf51406a7768fa0602f070&&munq=0b42e49e919fa5e0b3dbd226f1accb9c > > Connection: close > > Content-Type: text/vnd.wap.wml; charset=utf-8 > > --[ HEADER END ]------ > > > > > "http://www.wapforum.org/DTD/wml_1.1.xml"> > http-equiv="Cache-Control" content="must-revalidate" forua="true"/> > http-equiv="Cache-Control" content="no-cache" forua="true"/> > http-equiv="Cache-Control" content="max-age=0" forua="true"/> > http-equiv="Expires" content="0" forua="true"/> > content="no-cache" forua="true"/>

Welcome to > > Horde

> >

Username > value=""/>

> >

Password > value=""/>

> >

Log in > href="redirect.php?Horde=210df67fafbf51406a7768fa0602f070" > > method="post"> > value="210df67fafbf51406a7768fa0602f070"/> > value="$(_imapuser)"/> > name="actionID" value=""/> > >

> >
> > > > 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@lists.horde.org > > > > > > > ------------------------------------------------- > This mail sent through IMP: http://horde.org/imp/ > ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ From chuck at horde.org Wed May 28 16:58:52 2003 From: chuck at horde.org (Chuck Hagenbuch) Date: Wed May 28 17:03:56 2003 Subject: [mimp] Condensing login page In-Reply-To: <1054161573.3ed53aa5bab3e@mail.david-nelson.com> References: <1054090400.3ed424a05272e@mail.david-nelson.com> <1054161421.3ed53a0dc6ea9@mail.david-nelson.com> <1054161573.3ed53aa5bab3e@mail.david-nelson.com> Message-ID: <1054166332.e4b769005b8e4@marina.horde.org> Quoting David Nelson : > 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? I've trimmed what I can. You might want to fiddle with your php (expose_php) and apache settings to see if you can nuke any other headers. Keep us informed if you discover anything especially useful. -chuck -- Charles Hagenbuch, The alligators were there, too, in a bathtub inside the house.