RE: [setcookie] & [redirect]

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 21827
interpreted = N
texte = Hi Josh, I had the same challenge and figured there are two ways around this:1. use returnraw to set cookie like this (on the same page)[returnraw]HTTP/1.0 302 Found Set-Cookie: Visits=[math]visits[/math]; expires=Wednesday, 09-Nov-1999 23:12:40 GMT; path=/; domain=www.yourdomain.com Location: home.tpl[/returnraw]2. [setcookie] and let the browser redirect via meta tag.Aloha, Olin> -----Original Message----- > From: josh@pop-art.com [mailto:josh@pop-art.com] > Sent: Tuesday, December 15, 1998 9:39 AM > To: WebDNA-Talk@smithmicro.com > Subject: [setcookie] & [redirect] > > > 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? > > > Thanks, > > Josh > ------------------------------------------------------------------ > --------- > Joshua Blank Pop Art LLC http://pop-art.com > josh@pop-art.com eCommerce / Web Design / Multimedia > > 7000 SW Hampton St. tel: (503) 968.5957 > Suite 124 fax: (503) 620.8487 > Portland, OR 97223-8361 > > Associated Messages, from the most recent to the oldest:

    
  1. Re: [setcookie] & [redirect] (josh@pop-art.com 1998)
  2. Re: [setcookie] & [redirect] (Kenneth Grome 1998)
  3. RE: [setcookie] & [redirect] (Olin Lagon 1998)
  4. Re: [setcookie] & [redirect] (charles kline 1998)
Hi Josh, I had the same challenge and figured there are two ways around this:1. use returnraw to set cookie like this (on the same page)[returnraw]HTTP/1.0 302 Found Set-Cookie: Visits=[math]visits[/math]; expires=Wednesday, 09-Nov-1999 23:12:40 GMT; path=/; domain=www.yourdomain.com Location: home.tpl[/returnraw]2. [setcookie] and let the browser redirect via meta tag.Aloha, Olin> -----Original Message----- > From: josh@pop-art.com [mailto:josh@pop-art.com] > Sent: Tuesday, December 15, 1998 9:39 AM > To: WebDNA-Talk@smithmicro.com > Subject: [setcookie] & [redirect] > > > 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? > > > Thanks, > > Josh > ------------------------------------------------------------------ > --------- > Joshua Blank Pop Art LLC http://pop-art.com > josh@pop-art.com eCommerce / Web Design / Multimedia > > 7000 SW Hampton St. tel: (503) 968.5957 > Suite 124 fax: (503) 620.8487 > Portland, OR 97223-8361 > > Olin Lagon

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:

MATH (1998) [lineitems] and [writefile] (1998) Re:[ShowIf] and empty fields (1997) Separate SSL Server (1997) How does 4DWebSTAR V's cache work? (2002) Quitting WebMerchant ? (1997) small hairball -- stuck on [showif] for related db (1998) PCS Frames (1997) [WebDNA] Store module/site (2012) Weird + issue (2002) WebCat 3.04-3.07 plug-in dying on server.... (2000) Apache SSL and Linux (2002) Search with Special Chars (1997) update on wn searching (1997) FYI: virus alert (1996) WebCat2b15MacPlugin - [protect] (1997) How to best sort in a pre-defined item-by-item order ... (2003) RE: How much ram??? (1997) RE: Missing contexts on NT (1997) TCP Connect (2000)