I need to get a cookie as a result of authentication.
The Web-server returns a few pieces of cookies. The example below shows the result of the Wfetch.exe-utility: alt text

When I run (CALL client_authentication...) the authentication procedure in ASA12 (ASA16):
CREATE PROCEDURE client_authentication(
urlSpec LONG VARCHAR,
certif LONG VARCHAR)
URL '!urlSpec'
TYPE 'HTTP:POST:text/plain'
CERTIFICATE '!certif'
SET 'REDIR (COUNT = 0)';

then I get only one cookie:
alt text

Is it possible to get all the 'Set-Cookie'-attribute values ​​in the ASA12?

asked 12 Aug '13, 12:26

Ilia63's gravatar image

Ilia63
1.2k515681
accept rate: 44%


permanent link

answered 06 Sep '19, 07:16

Ilia63's gravatar image

Ilia63
1.2k515681
accept rate: 44%

edited 06 Sep '19, 07:20

1

Yes, it's also documented in the "What's New" section...

(06 Sep '19, 07:37) Volker Barth

I have confirmed this behaviour. It looks like only the last fragment is included in the result set. This may be an oversight (i.e., bug).

permanent link

answered 14 Aug '13, 11:46

JBSchueler's gravatar image

JBSchueler
3.3k41564
accept rate: 19%

Thanks.
It would be nice, if the 'Set-Cookie'-attribute would have the following format for the next build of ASA12/16:

Set-Cookie: <name>=<value>[; <name>=<value>]...
[; expires=<date>][; domain=<domain_name>]
[; path=<some_path>][; secure][; httponly]
(15 Aug '13, 04:22) Ilia63

That's up to the web server you connect to (and http://tools.ietf.org/html/rfc6265#section-4.1.2).

What we need to do is make sure that you see all of the Set-Cookie headers.

(15 Aug '13, 09:34) JBSchueler
Replies hidden

Already there "EBF 21834: 12.0.1 SP65 Build 3967", but:
Location = ... jsessionid=FEBF61E1302AAFBEB9392B05CFE19B7E.jvm35
Set-Cookie = TS95cb66=108aec2a8a669bbd0d07348607cc68adfb88548baba2456b524bedb460ac0ec5a2f79a5f8564792ff7ee38e2; Path=/

(02 Oct '13, 06:06) Ilia63
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×438
×48

question asked: 12 Aug '13, 12:26

question was seen: 4,224 times

last updated: 06 Sep '19, 07:37