Skip to content

Cookie for subdomain #81

@jadeye

Description

@jadeye

carhartl-PLEASE DO NOT CLOSE THIS IN THE NEXT 20 SECONDS!!!
Thank you FagnerMartinsBrack FOR YOU PREVIOUS ANSWER!!!
I have tried replacing path:'' with domain but in vain.
I have tried combining the two but still without luck :-(

I would appreciate it if you could take a look...
site

Now if you change the languages from the top menu,
This script is to change that cookie:

Cookies.remove('googtrans',{path:'',domain: 'oc2000.polumetis.net'}); Cookies.remove('googtrans',{path:'',domain: '.oc2000.polumetis.net'}); Cookies.remove('googtrans',{path:'',domain: '.polumetis.net'}); Cookies.set('googtrans', '/en/<?php echo $lang; ?>',{path:'',domain: '.oc2000.polumetis.net'}); Cookies.set('googtrans', '/en/<?php echo $lang; ?>',{path:'',domain: 'oc2000.polumetis.net'}); Cookies.set('googtrans', '/en/<?php echo $lang; ?>',{path:'',domain: '.polumetis.net'});

Something is not working here...
The script is creating a new cookie but still it creates the domain cookie as well....
& it is not removing them at all...
Why?
Thank you again for your time

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions