Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - [Http Client] - Correct Cookie Handling?

[Http Client] - Correct Cookie Handling?

Problems with WiFi, SQLite ,Bluetooth, WiMax, Proxies, etc...

[Http Client] - Correct Cookie Handling?

Postby mastix » Sun Sep 20, 2009 10:18 am

Hi guys,

currently I'm developing an app that logs into a website using form based auth. Before I implemented that, I was using the HttpUrlConnection, but due that fact that my software didn't work in 2G networks I've changed my implementation to use the internal http client.

Does anyone of you know about an OpenSource App that does the same that I want? Like logging into a website (getting and setting Cookies) and so on? If yes, I could have a look at that. I mean the thing is... I need to find out whether the login worked or not.

Or does anyone know how it works correctly? Maybe some of you guys have already implemented something like that?

This is my current implementation that does not work:

http://code.google.com/p/web2sms4androi ... ndler.java

In the httpHandler() I set the cookies as member variable (setCookiesFromHeader() and also put them into the header if they exist (prepareConnection).

It would be really great if someone could help me. Really would like to release the version of my app, since a lot more things have changed. And this issue keeps me stuck... :(

Thank you very much in advance, guys.

Sascha
mastix
Junior Developer
Junior Developer
 
Posts: 13
Joined: Sun Sep 20, 2009 9:57 am

Top

Return to Networking & Database Problems

Who is online

Users browsing this forum: No registered users and 3 guests