[horde] problem with cookies in horde/templates/javascript/form_sections.js

Tom Hodder tom at scriptsupport.co.uk
Sun Dec 14 13:40:47 PST 2003


Hello,

I've got a tabbed form using the Horde_Form and $form->setSection, which im
using to generate a series of tabbed forms. However when I tab through the
sections the current opensection is not closed, and this seems to be because
the _setCookie javascript function is not setting the open section to the
cookie correctly.
I'm guessing its a problem with my cookie conf in horde/config/conf.php, but
that seems ok as it is;

$conf['cookie']['domain'] = $_SERVER['SERVER_NAME'];
$conf['cookie']['path'] = '/';

as my horde install is running locally the url of the site is http://horde for
my own browsing, and the page with the problem is running as a child
application like this http://horde/mainapp

so im wondering whether it might be a problem with the cookie being retrieved by
an applicatoin lower in the path.

(unfortunately since i discoverd sessions, ive not done anything with client
side js and cookies so I'm totally in the dark on this one.)

Cheers,

Tom H




----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



More information about the horde mailing list