Re: [Htmlparser-user] cookie
Brought to you by:
derrickoswald
From: Derrick O. <Der...@Ro...> - 2006-03-30 12:21:30
|
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=detail&aid=1436082&group_id=24399&atid=381402 ?? 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 ConnectionManager > 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=lnk&kid=110944&bid=241720&dat=121642 > <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642> > _______________________________________________ > 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...> |