On 9 Oct 98, at 9:28, Brent Eades wrote:

> Anyone tell me how to properly set the path for Javascript 
> cookies using Bill Dortch's generic code?

> I want to set the cookies such that they will be retrieved 
> from any sub-directory below a certain main directory, i.e.:

>From the roots you can see the leaves.
If you set /pippo/pluto/ you'll see the cookie from 
pippo/pluto/topolino pippo/pluto/archimede etc..

so if you're in pippo/pluto/paperino and you want the cookie to be 
visible from evry sub of pippo/pluto you have to take the string 
pippo/pluto/paperino and cut /paperino

I know there is a SPLIT function in Perl that put in an array a char 
delimited string...

SPLIT("pippo/pluto/paperino/archimede/", "/") =>
array(0)=pippo
array(1)=pluto
array(2)=paperino etc...

in that way you could manage cookie access in the not default 
direction (from leaves to root)

Just an idea... not an explanation or a tutorial sorry...

BTW you're investing a lot of time in JavaScript :-)
-------------------------------------------
Ivan Sergio Borgonovo [EMAIL PROTECTED]
Webmaster Gorilla Bookstore http://www.gorilla.it
Tel. +39 2 3311105/34530455 Fax. +39 2 34531591
Via Mac Mahon 9, Milano, Italy
-------------------------------------------

____________________________________________________________________
--------------------------------------------------------------------
 Join The Web Consultants Association :  Register on our web site Now
Web Consultants Web Site : http://just4u.com/webconsultants
If you lose the instructions All subscription/unsubscribing can be done
directly from our website for all our lists.
---------------------------------------------------------------------

Reply via email to