Re: [WebDNA] Cookie behavior
This WebDNA talk-list message is from 2010
It keeps the original formatting.
numero = 105722
interpreted = N
texte = --Apple-Mail-16--409924902Content-Transfer-Encoding: quoted-printableContent-Type: text/plain;charset=us-asciiExcellent. Thank you. Going to test this out.... Making progess. Thanks =to all for responses.JonOn Aug 26, 2010, at 12:11 PM, Tom Duke wrote:> Jonathan,>=20> Hi - the following works for me when setting a session (i.e. no =expires value) cookie:>=20> [setcookie =name=3DsessionId&value=3D[cart]&path=3D/&domain=3D[getmimeheader =name=3Dhost]]>=20> Ken must be right about the path and domain values being optional - I =have always left them in though. =20>=20> In your original code you specify the domain as 'www.yourdomain.com' - =is it possible that your domain URL is 'http://yourdomain.com' though? =If so then your code won't work - best to use '.yourdomain.com' so the =cookie can be accessed across all potential subdomains.>=20> Take care> - Tom>=20>=20>=20>=20--Apple-Mail-16--409924902Content-Transfer-Encoding: 7bitContent-Type: text/html;charset=us-asciiExcellent. Thank you. Going to test this out.... Making progess. Thanks to all for responses.
Jon
On Aug 26, 2010, at 12:11 PM, Tom Duke wrote:
Jonathan,
Hi - the following works for me when setting a session (i.e. no expires value) cookie:
[setcookie name=sessionId&value=[cart]&path=/&domain=[getmimeheader name=host]]
Ken must be right about the path and domain values being optional - I have always left them in though.
In your original code you specify the domain as '
www.yourdomain.com' - is it possible that your domain URL is '
http://yourdomain.com' though? If so then your code won't work - best to use '.
yourdomain.com' so the cookie can be accessed across all potential subdomains.
Take care
- Tom
--Apple-Mail-16--409924902--
Associated Messages, from the most recent to the oldest:
--Apple-Mail-16--409924902Content-Transfer-Encoding: quoted-printableContent-Type: text/plain;charset=us-asciiExcellent. Thank you. Going to test this out.... Making progess. Thanks =to all for responses.JonOn Aug 26, 2010, at 12:11 PM, Tom Duke wrote:> Jonathan,>=20> Hi - the following works for me when setting a session (i.e. no =expires value) cookie:>=20> [setcookie =name=3DsessionId&value=3D
[cart]&path=3D/&domain=3D[getmimeheader =name=3Dhost]]>=20> Ken must be right about the path and domain values being optional - I =have always left them in though. =20>=20> In your original code you specify the domain as 'www.yourdomain.com' - =is it possible that your domain URL is 'http://yourdomain.com' though? =If so then your code won't work - best to use '.yourdomain.com' so the =cookie can be accessed across all potential subdomains.>=20> Take care> - Tom>=20>=20>=20>=20--Apple-Mail-16--409924902Content-Transfer-Encoding: 7bitContent-Type: text/html;charset=us-asciiExcellent. Thank you. Going to test this out.... Making progess. Thanks to all for responses.
Jon
On Aug 26, 2010, at 12:11 PM, Tom Duke wrote:
Jonathan,
Hi - the following works for me when setting a session (i.e. no expires value) cookie:
[setcookie name=sessionId&value=
[cart]&path=/&domain=[getmimeheader name=host]]
Ken must be right about the path and domain values being optional - I have always left them in though.
In your original code you specify the domain as '
www.yourdomain.com' - is it possible that your domain URL is '
http://yourdomain.com' though? If so then your code won't work - best to use '.
yourdomain.com' so the cookie can be accessed across all potential subdomains.
Take care
- Tom
--Apple-Mail-16--409924902--
Jonathan Young
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Cookies and the EU (John, don't read this) (2001)
Different Drive (2003)
URGENT: NO BUG, woFIELDdata & FIELDword=ww (2002)
[WebDNA] anyone know why webdna kicking out incorrect dates? (2008)
Copyright ? (1997)
about this server and links to who (1997)
Unique SKU Numbers (2000)
[NT] ie 4.0 required (1997)
re: Large databases in WebCat (1997)
Part Html part WebDNA (1997)
WebCat2 - Getting to the browser's username/password data (1997)
Possible Bug in 2.0b15.acgi (1997)
Limiting user access to .tmpl files (1997)
Forms Search Questions (1997)
Gathering the values of matching fields in a database. (1998)
Is there an alternative to emailer? (1999)
[WebDNA] 6.2 Monitor (2012)
MAC FINDER (2001)
japanese characters (1997)
Cart# (1997)