Forum OpenACS Q&A: Re: Simple: Setting My OWN Cookies....

Collapse
Posted by MaineBob OConnor on

This was driving me nuts and got me off on the wrong track....

I don't understand why but my test directory called /bobz/ requires a redirect to registration with a simple html / adp file with NO commands...

Yet, I can rename the directory to say /billz/ and all works as expected....

I must have used /bobz/ in the distant past and it must have some restriction somewhere... ....maybe some old acs code doing something...??? and I can't find it.... and I've stopped looking!

Anyway, the cookie thing works fine:

ad_set_cookie -expires never "bobz" "5"

set bobzcookie [ad_get_cookie "bobz"]

Thanks
-Bob

Collapse
Posted by Andrew Piskorski on
In your /admin/site-map/, do you have permissions set correctly on that URL (aka site node)? What's that Site Map page tell you about permissions on your weirdly-behaving /bobz/ URL?