Re: Cookie setting

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 54173
interpreted = N
texte = yeah, you can't set a cookie then use the value on the same page because the cookie value needs to be passed by the client to the server... which is impossible at the time you set it because the client has already sent the request.... ----- Original Message ----- From: "Tim Robinson" To: "WebDNA Talk" Sent: Tuesday, November 18, 2003 10:56 AM Subject: Re: Cookie setting > You can't use [getcookie] on the same page as [setcookie]. (I reckon you > should be able to, but you can't. I assume there's some good reason....) > > You have to set cookie, and then refresh or redirect to the same page. > > Tim > > > From: Donovan Brooke > > Reply-To: (WebDNA Talk) > > Date: Mon, 17 Nov 2003 15:17:06 -0600 > > To: (WebDNA Talk) > > Subject: Re: Cookie setting > > > > Well, since [listcookies] was displaying and [getcookie] was not, > > I just replaced the [getchookie] with [listcookies] to compare against > > and that solved my problem. > > > > I don't know why I can't get getcookie to work in this > > situation as I've used it before without problems. > > > > Donovan > > > > -- > > =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o > > DONOVAN D. BROOKE Eucalyptus Design > > <-Web Development (specializing in eCommerce), -> > > <-Graphic Design, and Pre-Press Consultation -> > > > > ADDRESS:> Donovan Brooke > > DBA Eucalyptus Design > > N2862 Summerville Park Rd. > > Lodi, WI 53555 > > PH:> 1.608.592.3567 > > Web:> http://www.euca.us > > =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o > > > > > > ------------------------------------------------------------- > > This message is sent to you because you are subscribed to > > the mailing list . > > To unsubscribe, E-mail to: > > To switch to the DIGEST mode, E-mail to > > > > Web Archive of this list is at: http://webdna.smithmicro.com/ > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > Web Archive of this list is at: http://webdna.smithmicro.com/ > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Cookie setting ( Donovan Brooke 2003)
  2. Re: Cookie setting ( Donovan Brooke 2003)
  3. Re: Cookie setting ( Jesse Proudman 2003)
  4. Re: Cookie setting ( Alain Russell 2003)
  5. Re: Cookie setting ( Donovan Brooke 2003)
  6. Re: Cookie setting ( "Andrew Simpson" 2003)
  7. Re: Cookie setting ( Tim Robinson 2003)
  8. Re: Cookie setting ( Donovan Brooke 2003)
  9. Re: Cookie setting ( Donovan Brooke 2003)
  10. Re: Cookie setting ( "Nitai @ ComputerOil" 2003)
  11. Re: Cookie setting ( Alain Russell 2003)
  12. Re: Cookie setting ( Scott Anderson 2003)
  13. Re: Cookie setting ( "Nitai @ ComputerOil" 2003)
  14. Re: Cookie setting ( "WebDna @" 2003)
  15. Cookie setting ( Donovan Brooke 2003)
yeah, you can't set a cookie then use the value on the same page because the cookie value needs to be passed by the client to the server... which is impossible at the time you set it because the client has already sent the request.... ----- Original Message ----- From: "Tim Robinson" To: "WebDNA Talk" Sent: Tuesday, November 18, 2003 10:56 AM Subject: Re: Cookie setting > You can't use [getcookie] on the same page as [setcookie]. (I reckon you > should be able to, but you can't. I assume there's some good reason....) > > You have to set cookie, and then refresh or redirect to the same page. > > Tim > > > From: Donovan Brooke > > Reply-To: (WebDNA Talk) > > Date: Mon, 17 Nov 2003 15:17:06 -0600 > > To: (WebDNA Talk) > > Subject: Re: Cookie setting > > > > Well, since [listcookies] was displaying and [getcookie] was not, > > I just replaced the [getchookie] with [listcookies] to compare against > > and that solved my problem. > > > > I don't know why I can't get getcookie to work in this > > situation as I've used it before without problems. > > > > Donovan > > > > -- > > =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o > > DONOVAN D. BROOKE Eucalyptus Design > > <-Web Development (specializing in eCommerce), -> > > <-Graphic Design, and Pre-Press Consultation -> > > > > ADDRESS:> Donovan Brooke > > DBA Eucalyptus Design > > N2862 Summerville Park Rd. > > Lodi, WI 53555 > > PH:> 1.608.592.3567 > > Web:> http://www.euca.us > > =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o > > > > > > ------------------------------------------------------------- > > This message is sent to you because you are subscribed to > > the mailing list . > > To unsubscribe, E-mail to: > > To switch to the DIGEST mode, E-mail to > > > > Web Archive of this list is at: http://webdna.smithmicro.com/ > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > Web Archive of this list is at: http://webdna.smithmicro.com/ > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ "Andrew Simpson"

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:

Re[2]: Charting records by state (2000) searchable list archive (1997) How To Install (2003) [GROUPS] followup (1997) Problems with cybercash (2000) date format (2000) Searchable WebCat (etc.) Docs ? (1997) Nested tags count question (1997) Need relative path explanation (1997) WebCatalog can't find database (1997) Summary layout (1997) encrypt/decrypt problems (2001) Email/Order to fax? (2003) Version 4 (2000) Upload Maximum (2003) [/application] error? (1997) New commands in Final candidate (1997) My first ship table (1998) [BULK] [WebDNA] abstraction code can be tricky... (2012) Another Flash Question (2000)