I have a fairly simple ACT script and
I just try doing two simple GET requests
and the script will not remember cookies
between requests.
The simple ASP.NET_SessionId cookie doesn't
get remembered.
In my GET request script, I have:
var headers = request.Headers;
...
headers.Add("Cookie", "(Automatic)");
I've also tried "(automatic)" to no avail.
Why don't the auto-cookies work?
What am I missing?
This might be related, but should I use
one Test.CreateConnection() or create a new
one every time I make a request? When I try
to use one, some of the requests fail occasionally.
Thanks,
Chad Myers
ShannonG - 11 Sep 2003 21:31 GMT
Have you tried this syntax , it works for me,
oHeaders.Add "Cookie", "(automatic)"
All my scripts use a new connection for each request.
Hope that helps.
>-----Original Message-----
>I have a fairly simple ACT script and
[quoted text clipped - 24 lines]
>
>.