Newsgroups : Borland : borland.public.delphi.internet.winsock : 2008 Mar : Re: Can't Get the page

www.cryer.info
Managed Newsgroup Archive

Re: Can't Get the page

Subject:Re: Can't Get the page
Posted by:"fer" (feridunmob..@tiasoft.com)
Date:Thu, 27 Mar 2008 00:14:54

"Remy Lebeau (TeamB)" <no.spam@no.spam.com>, haber iletisinde şunları
yazdı:47e986b2$1@newsgroups.borland.com...
>
> "fer" <feridunmobil@tiasoft.com> wrote in message
> news:47e9827b@newsgroups.borland.com...
>
>> i am trying to get this addres and can't turn anything.
>
> How are you trying to retreive it exactly?  What problem are you having
> having with it?  You need to be more specific.
>
>
> Gambit


  MyHttp := TIdHTTP.Create ;
  myssl  := TIdSSLIOHandlerSocketOpenSSL.Create ;
  Myssl.DefaultPort   := 443 ;
  myssl.SSLOptions.Method  := sslvSSLv23 ;
  myssl.SSLOptions.Mode    := sslmUnassigned ;
  myssl.SSLOptions.VerifyDepth := 2 ;
  MyHttp.IOHandler := Myssl ;
  MyHttp.AllowCookies           := True ;
  MyHttp.CookieManager          := Form1.IdCookieManager1 ;
  MyHttp.ProtocolVersion        := pv1_1 ;
  MyHttp.Request.Accept         := 'image/gif, image/x-xbitmap, image/jpeg,
image/pjpeg, application/vnd.ms-excel, application/x-shockwave-flash,
application/x-ms-xbap, application/x-ms-application,
application/x-silverlight, */*' ;
  MyHttp.Request.AcceptEncoding := 'gzip, deflate' ;
  MyHttp.Request.Connection     := 'Keep-Alive' ;
  MyHttp.Request.ContentType    := 'application/x-www-form-urlencoded' ;
  MyHttp.HTTPOptions            := [hoKeepOrigProtocol] ;
  MyHttp.Request.Referer        := '' ;
  MyHttp.Request.UserAgent      := 'Mozilla/4.0 (compatible; MSIE
6.0;Windows NT 5.1; SV1; .NET CLR 1.1.4322)';
  MyHttp.HandleRedirects        := False ;
  PUrl := 'https://213.148.68.20/bireysel/Parola.do' ;
  Form1.Memo1.Text := MyHttp.get (PURL) ;


and it goes to

  raise EIdConnClosedGracefully.Create(RSConnectionClosedGracefully);

and nothing it reads

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive