SetHTTPHeader

Is there a maximum length value I can pass in @SetHTTPHeader?

If run:

If I issue the commend:

msg := “SMC=STephen M Christian Developer Long Time; expires=” + @Text(@Adjust(@Now;1;0;0;0;0;0); “S2”);

ans := @SetHTTPHeader(“Set-Cookie”; msg);

@Length(msg)

It shows 75 characters and issuing: JavaScript: alert(document.cookie); I get

If I add one more character:

msg := “SMC=STephen M Christian Developer Long Timfe; expires=” + @Text(@Adjust(@Now;1;0;0;0;0;0); “S2”);

ans := @SetHTTPHeader(“Set-Cookie”; msg);

@Length(msg)

It shows 76 characters and issuing: JavaScript: alert(document.cookie); I get (no change)

Changing it back to 1 less letter and it works again:

msg := “SMC=STephen M Christian Developer Long Timx; expires=” + @Text(@Adjust(@Now;1;0;0;0;0;0); “S2”);

ans := @SetHTTPHeader(“Set-Cookie”; msg);

@Length(msg)

It shows 75 characters and issuing: JavaScript: alert(document.cookie); I get (no change)

So it appears there is a maximum line lenght of 75 characters can anyone find any information on this being documented?

Thanks.

Subject: SetHTTPHeader

Don’t know why you’re having this problem but I can confirm that I have cookies that are longer than 75 characters in length (I have one that’s 183).

Subject: RE: SetHTTPHeader

Seems to only happen with @SetHTTPHedaer.

Works fine if I do a to set the cookie.

I found one semi reference out there that seemed to indicate Lotus Notes wraps at 75 characters and maybe this could be causing the problem.