I have a function
function setCookie(){
expireDate= new Date;
expireDate.setMonth(expireDate.getMonth()+1);
document.cookie="chataction=accept; expires="+expireDate.toGMTString();
}
that is called from one page that can be accessed from several different
frames.
when the function is called from the page in one frame the cookie is set but
when i return to the page via another frame the cookie appears not to be
set.
can anyone help me?
all.document.cookie ? top.docu....
---
NEED TECHNICAL TIPS, TOOLS, AND INSIGHTS? Is FREE okay?
Visit EarthWeb for the latest in IT Management, Software Development,
Web Development, Networking & Communications, and Hardware & Systems.
Click on http://www.earthweb.com for FREE articles, tutorials,
and discussions from the experts.
---
You are currently subscribed to javascript as: $subst('Recip.EmailAddr')
To unsubscribe send a blank email to leave-javascript-$subst('Recip.MemberIDChar')@p2p.wrox.com