Forum OpenACS Q&A: Response to lynx, cookies and ACS sessions

Collapse
Posted by Connie Hentosh on
I tried this before... decided to give it one more try.. I added double quotes around the value of the cookie by modifying ad-utilities.tcl.preload in proc ad_set_cookie.

Changing:

	set cookie "$name=$value"
to:
	set cookie "$name="$value""
This failed in my previous test ... but looking at the proxy output I see that lynx now gets the full session id with commas! Now it seems that ad_get_cookie needs to be modified to accept values possibly surrounded by quotes.

Can anyone suggest the proper patch to the ad_get_cookie so it will also be backward compatible?

Also, is there anything that works with TCL that makes it easy to jump to the definition of a proc? Does tags work with TCL?

Thanks.