Re: [twsocket] Handling redirects

2006-09-04 Thread Francois Piette
 Source code is the best help file you can get, it even
 describes the bugs ;-)

:-

Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
--
[EMAIL PROTECTED]
Author of ICS (Internet Component Suite, freeware)
Author of MidWare (Multi-tier framework, freeware)
http://www.overbyte.be

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Handling redirects

2006-09-02 Thread Francois PIETTE
 PS: I will gladly pay a few dollars for a good help file :)

I would prefer you help writing the help. There is a project at 
http://wiki.overbyte.be. We need people to write as much as they can. If you 
don't know the component, no problem: you can take the source code and 
simply create all entries for properties, methods and events whithout 
actually creating the article. Someone else will add the actual description.

Let me know - or anybody else - want write permission to the wiki.

--
Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
--
[EMAIL PROTECTED]
http://www.overbyte.be


-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Handling redirects

2006-09-01 Thread Mike Versteeg
When this event is called, where can I get the new url? I need it to
change the url I keep on file. Unfortunately the URL property does not
get updated.

thanks,

Mike

On 2/7/06, Francois Piette [EMAIL PROTECTED] wrote:
   Assuming you use THttpCli, there is a property
   called FollowRedirection. Set it to true.
 
  1. Did you mean FollowRelocation?
  2. Does it automatically then handle the redirection. Or will it trigger the
  OnLocationChange event
  where I need to get the new Destination to use?

 OnLocationChange is always triggered. If ou need to change the relocation the 
 set FollowRelocation
 to FALSE and run a new request yourself with the url you want to relocate to.
 --
 [EMAIL PROTECTED]
 Author of ICS (Internet Component Suite, freeware)
 Author of MidWare (Multi-tier framework, freeware)
 http://www.overbyte.be

 --
 To unsubscribe or change your settings for TWSocket mailing list
 please goto http://www.elists.org/mailman/listinfo/twsocket
 Visit our website at http://www.overbyte.be

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Handling redirects

2006-09-01 Thread Francois Piette
It is in the location property if memory is stille alive.

Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
--
[EMAIL PROTECTED]
Author of ICS (Internet Component Suite, freeware)
Author of MidWare (Multi-tier framework, freeware)
http://www.overbyte.be

- Original Message - 
From: Mike Versteeg [EMAIL PROTECTED]
To: ICS support mailing twsocket@elists.org
Sent: Friday, September 01, 2006 11:39 AM
Subject: Re: [twsocket] Handling redirects


 When this event is called, where can I get the new url? I need it to
 change the url I keep on file. Unfortunately the URL property does not
 get updated.

 thanks,

 Mike

 On 2/7/06, Francois Piette [EMAIL PROTECTED] wrote:
Assuming you use THttpCli, there is a property
called FollowRedirection. Set it to true.
  
   1. Did you mean FollowRelocation?
   2. Does it automatically then handle the redirection. Or will it
trigger the
   OnLocationChange event
   where I need to get the new Destination to use?
 
  OnLocationChange is always triggered. If ou need to change the
relocation the set FollowRelocation
  to FALSE and run a new request yourself with the url you want to
relocate to.
  --
  [EMAIL PROTECTED]
  Author of ICS (Internet Component Suite, freeware)
  Author of MidWare (Multi-tier framework, freeware)
  http://www.overbyte.be
 
  --
  To unsubscribe or change your settings for TWSocket mailing list
  please goto http://www.elists.org/mailman/listinfo/twsocket
  Visit our website at http://www.overbyte.be
 
 -- 
 To unsubscribe or change your settings for TWSocket mailing list
 please goto http://www.elists.org/mailman/listinfo/twsocket
 Visit our website at http://www.overbyte.be

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Handling redirects

2006-09-01 Thread Mike Versteeg
Yes, that's correct.

Thanks.

PS: I will gladly pay a few dollars for a good help file :)

Mike

On 9/1/06, Francois Piette [EMAIL PROTECTED] wrote:
 It is in the location property if memory is stille alive.

 Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
 --
 [EMAIL PROTECTED]
 Author of ICS (Internet Component Suite, freeware)
 Author of MidWare (Multi-tier framework, freeware)
 http://www.overbyte.be

 - Original Message -
 From: Mike Versteeg [EMAIL PROTECTED]
 To: ICS support mailing twsocket@elists.org
 Sent: Friday, September 01, 2006 11:39 AM
 Subject: Re: [twsocket] Handling redirects


  When this event is called, where can I get the new url? I need it to
  change the url I keep on file. Unfortunately the URL property does not
  get updated.
 
  thanks,
 
  Mike
 
  On 2/7/06, Francois Piette [EMAIL PROTECTED] wrote:
 Assuming you use THttpCli, there is a property
 called FollowRedirection. Set it to true.
   
1. Did you mean FollowRelocation?
2. Does it automatically then handle the redirection. Or will it
 trigger the
OnLocationChange event
where I need to get the new Destination to use?
  
   OnLocationChange is always triggered. If ou need to change the
 relocation the set FollowRelocation
   to FALSE and run a new request yourself with the url you want to
 relocate to.
   --
   [EMAIL PROTECTED]
   Author of ICS (Internet Component Suite, freeware)
   Author of MidWare (Multi-tier framework, freeware)
   http://www.overbyte.be
  
   --
   To unsubscribe or change your settings for TWSocket mailing list
   please goto http://www.elists.org/mailman/listinfo/twsocket
   Visit our website at http://www.overbyte.be
  
  --
  To unsubscribe or change your settings for TWSocket mailing list
  please goto http://www.elists.org/mailman/listinfo/twsocket
  Visit our website at http://www.overbyte.be

 --
 To unsubscribe or change your settings for TWSocket mailing list
 please goto http://www.elists.org/mailman/listinfo/twsocket
 Visit our website at http://www.overbyte.be

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Handling redirects

2006-09-01 Thread Arno Garrels
Mike Versteeg wrote:
 PS: I will gladly pay a few dollars for a good help file :)

Source code is the best help file you can get, it even
describes the bugs ;-)

---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html


 
 Mike
 
 On 9/1/06, Francois Piette [EMAIL PROTECTED] wrote:
 It is in the location property if memory is stille alive.
 
 Contribute to the SSL Effort. Visit
 http://www.overbyte.be/eng/ssl.html --
 [EMAIL PROTECTED]
 Author of ICS (Internet Component Suite, freeware)
 Author of MidWare (Multi-tier framework, freeware)
 http://www.overbyte.be
 
 - Original Message -
 From: Mike Versteeg [EMAIL PROTECTED]
 To: ICS support mailing twsocket@elists.org
 Sent: Friday, September 01, 2006 11:39 AM
 Subject: Re: [twsocket] Handling redirects
 
 
 When this event is called, where can I get the new url? I need it to
 change the url I keep on file. Unfortunately the URL property does
 not get updated.
 
 thanks,
 
 Mike
 
 On 2/7/06, Francois Piette [EMAIL PROTECTED] wrote:
 Assuming you use THttpCli, there is a property
 called FollowRedirection. Set it to true.
 
 1. Did you mean FollowRelocation?
 2. Does it automatically then handle the redirection. Or will it
 trigger the OnLocationChange event
 where I need to get the new Destination to use?
 
 OnLocationChange is always triggered. If ou need to change the
 relocation the set FollowRelocation to FALSE and run a new request
 yourself with the url you want to relocate to. --
 [EMAIL PROTECTED]
 Author of ICS (Internet Component Suite, freeware)
 Author of MidWare (Multi-tier framework, freeware)
 http://www.overbyte.be
 
 --
 To unsubscribe or change your settings for TWSocket mailing list
 please goto http://www.elists.org/mailman/listinfo/twsocket
 Visit our website at http://www.overbyte.be
 
 --
 To unsubscribe or change your settings for TWSocket mailing list
 please goto http://www.elists.org/mailman/listinfo/twsocket
 Visit our website at http://www.overbyte.be
 
 --
 To unsubscribe or change your settings for TWSocket mailing list
 please goto http://www.elists.org/mailman/listinfo/twsocket
 Visit our website at http://www.overbyte.be
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


[twsocket] Handling redirects

2006-02-07 Thread Marius van Tubbergh
Hi ICS team,

I need to handle redirects on HTTP requests.
What is the proper way to do this?

Any advice / examples appreciated.

Thanks!
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Handling redirects

2006-02-07 Thread Francois Piette
  Assuming you use THttpCli, there is a property
  called FollowRedirection. Set it to true.

 1. Did you mean FollowRelocation?
 2. Does it automatically then handle the redirection. Or will it trigger the
 OnLocationChange event
 where I need to get the new Destination to use?

OnLocationChange is always triggered. If ou need to change the relocation the 
set FollowRelocation
to FALSE and run a new request yourself with the url you want to relocate to.
--
[EMAIL PROTECTED]
Author of ICS (Internet Component Suite, freeware)
Author of MidWare (Multi-tier framework, freeware)
http://www.overbyte.be

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be