On Apr 21, 2007, at 05:47, Frans van Daalen wrote:
Yes, deriving would be an option, did not think about that one. But
just
recently I came across some weird and wonderful websites that did
non-standard thinks to the cookie, so far for bad excuses :-)
What sort of non-standard things? And
While the discussion for the urlencode on autorelocate is going nicely :-) I
also have a small remark to make about the cookie property.
Currently the following is done when a cookie is received
-
else if Field = 'set-cookie' then begin
bAccept := TRUE;
@elists.org
Sent: Saturday, April 21, 2007 10:33 AM
Subject: [twsocket] Httpcli cookie
While the discussion for the urlencode on autorelocate is going nicely :-)
I
also have a small remark to make about the cookie property.
Currently the following is done when a cookie is received
From: Francois PIETTE
Normally, cookies are managed by the application. It is not always that
simple because of path and expiration. You can have a lot of cookies
grabbed
from one or even several URL while redirecting. So you should really write
some manager code to have cookies somewhat
Note that you can derive your own HTTP component from ICS component and
add
the storage or manager you like. In my opinion, it is better to write a
separate class for cookie management and link that class to your HTTP
component. A cookie manager component would be a nice addon to ICS :-)
From: Francois PIETTE
Note that you can derive your own HTTP component from ICS component and
add
the storage or manager you like. In my opinion, it is better to write a
separate class for cookie management and link that class to your HTTP
component. A cookie manager component would be a nice
How would you add to the current httpcli (v6) component a cookie-manager
in a non code breaking manner as the current cookie is defined as a
string?
Write a TCookieManager component.
Create a new property CookieManager in the HTTP component.
At design time, link the cookie manager
From: Francois PIETTE
For all readers, if you can think of any cookiemanager functions etc,
just
list them and I'll see what I can do.
Your funtions are based on the assumption that there is a manager per
httpcli, but maybe beter to have a manager that can handle multiple httpcli?
From: Frans van Daalen
procedure Purge; // Purge all expired cookies
? what should this one do?
arg maybe I schould read the command about the expired cookies :-)
--
To unsubscribe or change your settings for TWSocket mailing list
please goto
Your funtions are based on the assumption that there is a manager per
httpcli, but maybe beter to have a manager that can handle multiple
httpcli?
Indeed.
--
Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
--
[EMAIL PROTECTED]
http://www.overbyte.be
--
To
Plus from my perspective, there should be a conditional compilation option
for thread-safety.
Regards,
SZ
- Original Message -
From: Francois PIETTE [EMAIL PROTECTED]
To: ICS support mailing twsocket@elists.org
Sent: Saturday, April 21, 2007 5:31 PM
Subject: Re: [twsocket] Httpcli
11 matches
Mail list logo