By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,193 Members | 826 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,193 IT Pros & Developers. It's quick & easy.

ISAPI, CAPICOM , and Carriage Control Line Feed

P: n/a
I am writing an ISAPI filter which is using CAPICOM to encrypt and
decrypt cookie information. I've found that the encryption string
being returned by CAPICOM a has carriage control and line feed. (Hex
0d0a). My filter adds the header in the correct format, including the
entire encrypted cookie value (set-cookie:
mycookie=theEncryptedValue;path=/;). However, when the isapi filter
finishes running, the browser only gets part of the cookie, up to
where the line feed character occured.

Does anyone have any ideas as to why this is happening? Is there a
compiler setting I'm missing? Shouldn't that have been url encoded?
I'm a bit of a newbie to this language, so I apologize if this has an
obvious answer.

Thanks in advance.
Jul 22 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
In message <61**************************@posting.google.com >, Neil S.
<ns******@travelers.com> writes
I am writing an ISAPI filter which is using CAPICOM to encrypt and
decrypt cookie information. I've found that the encryption string
being returned by CAPICOM a has carriage control and line feed. (Hex
0d0a). My filter adds the header in the correct format, including the
entire encrypted cookie value (set-cookie:
mycookie=theEncryptedValue;path=/;). However, when the isapi filter
finishes running, the browser only gets part of the cookie, up to
where the line feed character occured.
I'm sorry to hear it. But what was your question about C++ ?

http://www.slack.net/~shiva/welcome.txt
Does anyone have any ideas as to why this is happening? Is there a
compiler setting I'm missing? Shouldn't that have been url encoded?
I'm a bit of a newbie to this language, so I apologize if this has an
obvious answer.

Thanks in advance.


--
Richard Herring
Jul 22 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.