I am trying to set a cookie using both: response.addCookie or
response.setHeader

Neither works in IE, but does work in Lynx. The header that is returned is:

HTTP/1.1 200 OK
Date: Fri, 02 Feb 2001 03:03:40 GMT
Server: Orion/1.3.8
Content-Length: 23
Set-Cookie: sometext=aasdlfkjasd; Path=
Cache-Control: private
Connection: Close
Content-Type: text/html


Is this Server: tag pre-pended by the Orion server causing my cookies to not
work in IE? And if so, how can I turn it off?


Thanks.

----
Peter T. Brown
Director of Technology
Memetic Systems
"Intelligent. Customer Acquisition & Retention."
206.985.7171 ext. 110

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Matt Krevs
Sent: Thursday, February 01, 2001 3:19 PM
To: Orion-Interest
Subject: RE: JSP Syntax

i ran into this problem yesterday. For me its related to having 2 "<" signs
in a row

eg, the following expression

<<%="sometext"%> id="anid" />

will not get translated at all. ie the output will be

<<%="sometext"%> id="anid" />

It seems Orion is getting confused by haveing 2 "<" signs together when
processing the JSP

If I change my expression to

<%="<sometext"%> id="anid" />

then everything works OK.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Randahl Fink
Isaksen
Sent: Friday, 2 February 2001 1:54 AM
To: Orion-Interest
Subject: JSP Syntax


I have two very similar lines of code - one of them causes a weird syntax
interpretation on Orion. According to my reference books the two expressions
should produce the same result. Does anyone know why these expressions work
differently on Orion?


Correct on Orion:   <p>/sub<%= t.getString() %></p>

Incorrect on Orion: <p><%= "/sub" + t.getString() %></p>


FYI: I am using 1.3.8.

R.





Reply via email to