ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

seting and retrieving cookies via javascript

June 23, 2010 4:31pm

Subscribe [1]
  • #1 / Jun 23, 2010 4:31pm

    patrick-vibes

    63 posts

    I have a post out there, seems to be picking up little attention and I am truly stuck here. Someone must know why there is an issue with setting and retrieving cookies in EE via javascript.

    I have the JS script as an embedded template, see code below, it will not correctly set or retrieve the values thus the cart will not work.

    Using this script: https://minicart.paypal-labs.com/

  • #2 / Jun 23, 2010 4:38pm

    ender

    1644 posts

    I’ve always used the functions given here for creating/deleting cookies via javascript.

  • #3 / Jun 23, 2010 4:46pm

    patrick-vibes

    63 posts

    Is there any particular reason why the script mentioned above will not set cookies or retrieve them when inside an EE install? This is wrecking my head as to why it doesn’t just work out the box with EE

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases