Re: [WebDNA] Cookie behavior
This WebDNA talk-list message is from 2010
It keeps the original formatting.
numero = 105721
interpreted = N
texte = --Apple-Mail-1--410552895Content-Type: text/plain;charset=US-ASCII;format=flowed;delsp=yesContent-Transfer-Encoding: 7bitsee below> 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'minus the first dot? ^^^^^^> so the cookie can be accessed across all potential subdomains.>> Take care> - Tom>>>>------------Govindagovinda.webdnatalk@gmail.com--Apple-Mail-1--410552895Content-Type: text/html;charset=US-ASCIIContent-Transfer-Encoding: quoted-printable
see =below
Jonathan,
Hi - the following works for =me when setting a session (i.e. no expires value) =cookie:
[setcookie =name=3DsessionId&value=3D[cart]&path=3D/&domain=3D[getmimehead=er name=3Dhost]]
Ken must be right about the =path and domain values being optional - I have always left them in =though.
=
minus the first dot? ^^^^^^
so the cookie can be accessed across all potential =subdomains.
Take care
- =Tom
=
=--Apple-Mail-1--410552895--
Associated Messages, from the most recent to the oldest:
--Apple-Mail-1--410552895Content-Type: text/plain;charset=US-ASCII;format=flowed;delsp=yesContent-Transfer-Encoding: 7bitsee below> 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'minus the first dot? ^^^^^^> so the cookie can be accessed across all potential subdomains.>> Take care> - Tom>>>>------------Govindagovinda.webdnatalk@gmail.com--Apple-Mail-1--410552895Content-Type: text/html;charset=US-ASCIIContent-Transfer-Encoding: quoted-printable
see =below
Jonathan,
Hi - the following works for =me when setting a session (i.e. no expires value) =cookie:
[setcookie =name=3DsessionId&value=3D
[cart]&path=3D/&domain=3D[getmimehead=er name=3Dhost]]
Ken must be right about the =path and domain values being optional - I have always left them in =though.
=
minus the first dot? ^^^^^^
so the cookie can be accessed across all potential =subdomains.
Take care
- =Tom
=
=--Apple-Mail-1--410552895--
Govinda
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:
[WebDNA] Fresh Snow Leopard install (2009)
WebCat2 - Getting to the browser's username/password data (1997)
Summ=T Problem (1997)
Two prices in shoppingcart? (1997)
WebDNA deletes major DB data big time (2004)
WebCat2b12 - nesting [tags] (1997)
Webcat 2.0.1 date math bug -> Crash! (1997)
Order not created error (never mind) (1997)
I've been thinking (2002)
[LOOKUP] (1997)
Re[2]: Search Engines (2000)
upgrading 5.0 --> 5.1g (2004)
Mac System Experience (1998)
Summing fields (1997)
WebCatalog Upgrade Pricing? (1997)
Shownext problems (1999)
really wierd browser truncating (1997)
WC 2.0 frames feature (1997)
Multiply prices (1997)
Server crash (1997)