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:

transferring values (1998) [isfolder] and [filename] (1997) Sorting error (1997) Problem: 3.0 doesn't update carts (1997) [WebDNA] [OT] Apple iPad (2010) how to determine the actual file format of an image file? (2002) find with exceptions (1997) Country & Ship-to address & other fields ? (1997) Quit revisited (1997) default image if image in code not available (2003) Which GUI HTML editors work with WC ? (1997) WC2b15 - [HTMLx]...[/HTMLx] problems (1997) Date Range search (1997) Still Learning (1997) problems with WebCat-Plugin () New Command prefs ... (1997) possible, WebCat2.0 and checkboxes-restated (1997) Sorting Numbers (1997) no global [username] or [password] displayed ... (1997) Unix DB Permission Error (2002)