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
carhartl-PLEASE DO NOT CLOSE THIS IN THE NEXT 20 SECONDS!!!
Thank you FagnerMartinsBrack FOR YOU PREVIOUS ANSWER!!!
I have tried replacing
path:''withdomainbut 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