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:

M$loth messes with our sites (again) (2004) WebCat for Unix?? (1997) Protecting webdelivery (1997) WC2.0 Memory Requirements (1997) Goodbyes (2007) service stop and restart (1997) Show shoppingcart after remove last item (1997) RE: [WebDNA] Suddenly, lots of WebDNA problems with FastCGI (2013) Help with (2003) Error: Too many nested [xxx] contexts (WebTen only) (1997) RE: strip .0 off off IPaddress (1998) Forms Search Questions (1997) Archive (Zip, Sit, Tgz) (2004) OT: Real time Stats (2003) form validator issue (2005) NT version (1997) WebCatalog Features (1997) Loosing Quantity (2000) Robust WebDNA Job Manager / Accountant (2006) form data submission gets truncated (1997)