Cookies & Path question

I am facing problems I have creating cookies via javascript.

I set a cookie (from a document) from database1 and read it from database2 (on a document on the same server).

What should I write as path in the cookie then ???

I used now: ‘/’ but this stores the whole path (server, main directory, subdirectories, database filename, viewname, document unid)

Thanks in advance for your assistance!

KR //

Patrick Kwinten