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:
URGENT: PERHAPS A BUG, woFIELDdata & FIELDword=ww (2002)
Big Databases (1997)
Shownext on AOL (2003)
Problem (1997)
OT: WebDNA and LINUX (2004)
Cart doesn't interpret tag! (1997)
Show shoppingcart after remove last item (1997)
Summing fields (1997)
HTTP upload (2000)
[WebDNA] Major grep/convertchars linux issues when writing to db (2010)
mutiple word search in one field (1999)
time and welcome (1999)
WebMerchant 1.6 and SHTML (1997)
[no_cache]?! (2000)
Test (2002)
[setcookie] & [redirect] (1998)
Problems passing [SKU] with $Replace in 2.0 (1997)
no global [username] or [password] displayed ... (1997)
[WebDNA] Ubuntu 14.04 & WebDNA (2017)
HELP WITH DATES (1997)