Link to home
Create AccountLog in
Avatar of carecorejen
carecorejen

asked on

Javascript include reading cookies across domains?

We use Netsuite for our CRM/ERP System.  Our Contact form on our website is actually served up from Netsuite (https://forms.netsuite.com/app/site/crm/externalleadpage.nl?compid=TSTDRV353218&formid=3&h=c9cfe3394a58a39a833e&category=3&leadsource=99995).

That form, while hosted at Netsuite, refers to a javascript include on our site.  This javascript reads a cookie and sets the phone number based up on the referring site.  The cookie is not being found from the javascript.

Is there any way for a cookie to be read across domain names?  I had thought since the include file is on our domain - it would read the cookie.  I guess not.

Thanks.

Jennifer
ASKER CERTIFIED SOLUTION
Avatar of dwaynecharrington
dwaynecharrington
Flag of Australia image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer