Re: [Htmlparser-user] cookie
Brought to you by:
derrickoswald
From: <xia...@gm...> - 2006-03-31 07:24:43
|
in this topic ,you said the connectionManager can handle the cookie and redirect. but how to use this object set cookie for parse another page. because parge another page need cookie to be set. On 3/30/06, Derrick Oswald <Der...@ro...> wrote: > > > No, there is a 'FollowRedirects' flag that automatically follows it. > See the discussion in RFE #1436082 Follow redirections with cookie > processing > > > http://sourceforge.net/tracker/index.php?func=3Ddetail&aid=3D1436082&grou= p_id=3D24399&atid=3D381402 > > > ?? wrote: > > > I tryed that but It still can not work, I research the web page flow > > and find that > > when you log in ,then server redirect you to another page. > > does the testPost() can handle this ? > > > > > > On 3/29/06, *Derrick Oswald* <Der...@ro... > > <mailto:Der...@ro...>> wrote: > > > > You may need to 'POST' to the login form using the ConnectionManage= r > > with your credentials. > > See the doc-comments for > > src/org/htmlparser/tests/ParserTest.testPOST() > > for an example. > > > > ?? wrote: > > > > > I want to parse a web page that need to log in.so I use the wiki > > > example but can not work. the cookie expired when the browser > > shut down. > > > Can you tell me how to handle this situation. > > > > > > -- > > > Best Regards. > > > > > > Xiaodong Han > > > MSN:hx...@ho... <mailto:MSN:hx...@ho...> > > <mailto:MSN <mailto:MSN>:hx...@ho... > > <mailto:hx...@ho...>> > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking scripting > > language > > that extends applications into web and mobile media. Attend the > > live webcast > > and join the prime developer group breaking into this new coding > > territory! > > > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat= =3D121642 > > < > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat= =3D121642> > > _______________________________________________ > > Htmlparser-user mailing list > > Htm...@li... > > <mailto:Htm...@li...> > > https://lists.sourceforge.net/lists/listinfo/htmlparser-user > > <https://lists.sourceforge.net/lists/listinfo/htmlparser-user> > > > > > > > > > > -- > > Best Regards. > > > > Xiaodong Han > > MSN:hx...@ho... <mailto:MSN:hx...@ho...> > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat= =3D121642 > _______________________________________________ > Htmlparser-user mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlparser-user > -- Best Regards. Xiaodong Han MSN:hx...@ho... |