Set-cookie

jdaniel052

New Member
When I using the set-cookie function, a line is displayed to the screen showing the path to where the cookie was set.
Any Ideas on why this is displaying and how to get rid of it.
Thanks
 
Hi JDaniel052, well I suppose the message you get is the webspeed html log you get at the top of a webpage.
Can you paste this message on this topic ?

Is it a troubleshoot of persistence ?
Is it a conflict in this cookie ? Do you try to re-write it before suppress it ?

Hope it will work widely.
 
here is my line of code:
set-cookie("v_cookie_cust","1000022",?,?,?,?,?).

Here is the message that appears on the web page when this line of code executes.

Set-Cookie: v_cookie_cust=1000022; path=/cgi-bin/wspd_cgi.sh/WService=mfgtest
 
The number will not be hard coded.
This was just for testing.
My problem is that I dont want that message to appear on the webpage after set-cookie is executed.
 
My advice is that before, create a buckle, after I could wish you another solution.
Or maybe, post us logs from the broker where your procedure is executed.
So, we could raise number errors.
 
Do you have your set-cookie function placed within an internal procedure named "output-headers"?
 
I'm don't remember because there is more than year I don't touch webspeed coding now, but it seems to my mind, yes.
Whatever, generate a new cgi-wrapper procedure, and compare, and if there is a set-cookie procedure in your output-headers, it will prove that is the good way of programming.
 
Back
Top