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:

RE: IIS 4 (1998) Seattle based Webcatters? (2000) DON'T use old cart file! (1997) Rendering out a page (1997) Hideifs / Showifs (2000) reserved characters for field names? (1998) What file? (1997) Emailer setup (1997) Multiple Users.db Possible? (1997) [WebDNA] New Upload Tool (2009) [WebDNA] 64-bit CentOS 6.3 (2013) authenticating a second user (1997) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) Webcat2, WebCommerce, Mod 10 etc. (1997) ReturnRaw context (1997) Almost a there but..bye bye NetCloak (1997) WebCat2 - storing unformatted date data? (1997) Summing fields (1997) Dropdown menus (2006) Forumulas.db & Variables (2002)