Re: [WebDNA] Why doesn't this returnraw redirect to the new page?
This WebDNA talk-list message is from 2009
It keeps the original formatting.
numero = 102827
interpreted = N
texte = Not sure what your trying to do, but we've been using a the following referrer validation, set cookie, and redirect for years.---------------------Index.tpl:[hideif [GETCOOKIE name=YOURCOOKIENAME]=VALIDATED]][REDIRECT url=validate.tpl][/hideif][showif [GETCOOKIE name=YOURCOOKIENAME]=VALIDATED]--------------------Validate.tpl:[showif [REFERER]^domain.com/global/Link.jsp][SETCOOKIE name=YOURCOOKIENAME&Value=VALIDATED&path=/][REDIRECT url=index.tpl][/showif][hideif [REFERER]^ddomain.com/global/Link.jsp]
NOT AUTHORIZED[/hideif]--------------------RobOn 25-Jun-09, at 8:23 AM, Kenneth Grome wrote:>>> I just [redirect] to the same page.>>>> me2. :-)>> Please post your code that works to set a cookie on the same> page as a redirect so I can see how you're doing it, thanks.>> Sincerely,> Ken Grome>>>> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> old archives: http://dev.webdna.us/TalkListArchive/
Associated Messages, from the most recent to the oldest:
Not sure what your trying to do, but we've been using a the following referrer validation, set cookie, and redirect for years.---------------------Index.tpl:[hideif [GETCOOKIE name=YOURCOOKIENAME]=VALIDATED]][REDIRECT url=validate.tpl][/hideif][showif [GETCOOKIE name=YOURCOOKIENAME]=VALIDATED]--------------------Validate.tpl:[showif [REFERER]^domain.com/global/Link.jsp][SETCOOKIE name=YOURCOOKIENAME&Value=VALIDATED&path=/][REDIRECT url=index.tpl][/showif][hideif [REFERER]^ddomain.com/global/Link.jsp]NOT AUTHORIZED[/hideif]--------------------RobOn 25-Jun-09, at 8:23 AM, Kenneth Grome wrote:>>> I just [redirect] to the same page.>>>> me2. :-)>> Please post your code that works to set a cookie on the same> page as a redirect so I can see how you're doing it, thanks.>> Sincerely,> Ken Grome>>>> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> old archives: http://dev.webdna.us/TalkListArchive/
Rob
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:
HELP WITH DATES (1997)
.. more on sliding discounts... (1997)
Re1000001: Setting up shop (1997)
[MATH SHOW=F]. show=f does what? (1999)
EmailCompleted Clean Up (2001)
PCS Emailer's role ? (1997)
Protect vs Authenicate (1997)
WebCat2b15MacPlugin - showing [math] (1997)
Shipcost lookup? (1997)
[CART] (1997)
New command suggestion (was Modifying databases manually) (1997)
2.0.1 new commands and contexts (1997)
RequiredFields template (1997)
Problems with cybercash (2000)
Reversed words (1997)
[ShowCart] and GET vs. POST (1997)
Errata: WCS Newbie question (1997)
Search design (1997)
Users.db (1998)
Web Logs (1998)