Looking for HTTP Accept Language for OECGI2 (OpenInsight 32-bit Specific)
At 14 JUN 2009 07:07:14PM Jensen Thomassen wrote:
At first I thought this would be very simple but then realized that the request doesn't pass the Accept Language.
I found a topic here by using php to create the engine and pass the request so basically add the accept Language after the registry setting in the request would work but I would rather ask if someone here has better solution to this problem.
also does anybody know how to get the query string to stop passing the cookies with it OECGI doesn't do it but OECGI2 does.
At 15 JUN 2009 09:27AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:
Have you tried adding it in INET_FINALIZE? Without wishing to sound stupid, if you don't want a cookie returned then don't set it? Ensure you have the "OECGI2 Returning PDF Patch" if you're wanting to return binary data.
World leaders in all things RevSoft
At 15 JUN 2009 04:51PM Jensen Thomassen wrote:
I know how I wrote that last bit sounds confusing, but what I want is not to have cookies passed in the Query String. OECGI2 passes them where OECGI does it right by not passing them. what is happening is I have a cookie for the langauge and if I have a link to set preference to a language and use the same variable "Lang" inet_queryParam actually grabs the cookie not the true query I was just wondering if the was a registry setting that would stop that or something.
also I do have the OECGI2 with pdf patch.
At 15 JUN 2009 07:37PM Bryan Shumsky wrote:
Hi, Jensen. Thanks for clarifying that; I didn't quite understand your original request.
If you run INET_TRACE as the OI program, do you see the cookie in both the Request and Cookie sections, or only in the Request section? Do you see your original Lang variable as well? I'd just like to know if possibly something on the OI side is putting them together, or if they are for sure coming in from OECGI2 in this fashion.
Thanks!
- Bryan Shumsky
Revelation Software
At 16 JUN 2009 02:03PM Jensen Thomassen wrote:
Hi Bryan,
I ran INET_Trace from OI and most of the variables are empty. the only ones that have information is the request field where you put registry settings in.
if I send lang in the request it is there, but since the cookies come first in the string inet_queryparam select the cookie value.
I never expected OI putting the cookies in the query string its most likely java through the OESocketServer.jar thats why i assumed a registry setting.