Re: [setcookie] & [redirect]

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 21826
interpreted = N
texte = >Is it possible to have a setcookie and a redirect on the same page? I have >been trying to do this, but I seem to always get redirected before the >cookie is set? Any ideas? > >Putting [REDIRECT http://www.smithmicro.com/] in your template will force the remote browser to immediately 'jump' to the new location specified, rather than displaying whatever is in the template. Any other text in the template will be ignored. You might want to use a instread? This way you could have the page wait a click or two and then redirect. This would give you plenty of time to set the cookie. I have not used the [Redirect] tag but it looks like when you use it it ignores the rest of the document.- ck-- _______________________________________________________________ Charles Kline ckline@macsultants.com MacSultants Professional Solutions for Computer SystemsPhone# 609-273-3255 Fax# 609-273-3721 Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] in principle, can we [setcookie] in a [spawn] ? ("Dennis J. Bonsall, Jr." 2009)
  2. [WebDNA] in principle, can we [setcookie] in a [spawn] ? (Govinda 2009)
  3. Re: [setcookie] & [redirect] (josh@pop-art.com 1998)
  4. Re: [setcookie] & [redirect] (Kenneth Grome 1998)
  5. RE: [setcookie] & [redirect] (Olin Lagon 1998)
  6. Re: [setcookie] & [redirect] (charles kline 1998)
  7. [setcookie] & [redirect] (josh@pop-art.com 1998)
>Is it possible to have a setcookie and a redirect on the same page? I have >been trying to do this, but I seem to always get redirected before the >cookie is set? Any ideas? > >Putting [REDIRECT http://www.smithmicro.com/] in your template will force the remote browser to immediately 'jump' to the new location specified, rather than displaying whatever is in the template. Any other text in the template will be ignored. You might want to use a instread? This way you could have the page wait a click or two and then redirect. This would give you plenty of time to set the cookie. I have not used the [redirect] tag but it looks like when you use it it ignores the rest of the document.- ck-- _______________________________________________________________ Charles Kline ckline@macsultants.com MacSultants Professional Solutions for Computer SystemsPhone# 609-273-3255 Fax# 609-273-3721 charles kline

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:

[ConvertChars] problem (1997) WCS Newbie question (1997) search problem (2002) Authentication (1998) [WebDNA] How can I uninstall WebDNA on OS X Sierra? (2017) Just a thought (1998) Does not begin with.... (2003) Email within tmpl ? (1997) [WebDNA] Has anyone used WebDNA as the back end to an app from end? (2016) Requiring that certain fields be completed (1997) authorize.net CC processing (was WC on Mac OS X or Mac OS (2001) problems with 2 tags shakur (1997) Not really WebCat (1997) Multiple 'Users.db' files not possible (1997) I need a Smart-quote workaround (1999) 'does not contain' operator needed ... (1997) WebCat2b15MacPlugin - showing [math] (1997) Format question WC Mac f3 (1997) [WebDNA] Putting '&search' into URL killing all search contexts (2010) Three new problems, maybe a fourth (1997)