ad4 health check set cookie

Apr 11, 2005 2 Replies

hi all,



i have a health check via script with password request. i guess i will be able to send user and pass. the problem i have is that the site needs to set a cookie. if it could not be set you are not allowed to enter the site. how is it possible to taccept the cookie and go on with the script.



regards Reinhold



The switch can look for a cookie with an expect. Use an expect line that looks for the "Set-Cookie:" directive. Then continue with the script.

If the site then wants the same cookie returned then there is no way to do that. You'll need to figure out another HC method.

Angler

Re> hi all,

Hi angler,

thanks for answer. i will try this.

regards Reinhold

Am Thu, 21 Apr 2005 17:18:40 -0400 schrieb Angler :

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required