Re: [twsocket] Using a Cookie in Http(s)Tst

2006-08-23 Thread Arno Garrels
Stadin, Benjamin wrote:
> Hi all,
> 
> in the HttpTst demo I navigate to www.google.com. The output message
> shows 
> 
> Cookie:
> "PREF=ID=64cd0e5f00d7a853:TM=1156389632:LM=1156389632:S=a7g_61J9fju4o_-X;
> expires=Sun, 17-Jan-2038 19:14:07 GMT; path=/; domain=.google.de"
> Set-Cookie:
> PREF=ID=64cd0e5f00d7a853:TM=1156389632:LM=1156389632:S=a7g_61J9fju4o_-
> X; expires=Sun, 17-Jan-2038 19:14:07 GMT; path=/; domain=.google.de
> 
> 
> But when I add a button to the form and check for SslHttpCli1.Cookie,
> it is empty. Am I missing something?

Use event OnCookie to grab the cookie.
Property Cookie is the cookie HttpCli sends to the server.

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


> What I want to do in the application is to change 1 value and use the
> cookie to save the setting permanently.
> 
> Cheers
> Benjamin
-- 
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] Using a Cookie in Http(s)Tst

2006-08-23 Thread Stadin, Benjamin
Hi all,

in the HttpTst demo I navigate to www.google.com. The output message shows

Cookie:
"PREF=ID=64cd0e5f00d7a853:TM=1156389632:LM=1156389632:S=a7g_61J9fju4o_-X;
expires=Sun, 17-Jan-2038 19:14:07 GMT; path=/; domain=.google.de"
Set-Cookie:
PREF=ID=64cd0e5f00d7a853:TM=1156389632:LM=1156389632:S=a7g_61J9fju4o_-X;
expires=Sun, 17-Jan-2038 19:14:07 GMT; path=/; domain=.google.de


But when I add a button to the form and check for SslHttpCli1.Cookie, it is
empty. Am I missing something?
What I want to do in the application is to change 1 value and use the cookie
to save the setting permanently.

Cheers
Benjamin
-- 
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