Re: Stinkin' [Referrer]
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 20592
interpreted = N
texte = Just add your variables to the referrer tag like this[referrer]?state=[state]>I am using POST to build a search. After about 3 screens of data>gathering I present the user with a list of items that match their>search, from closest to not so close. The problem arises when the user>clicks on one of the links in this list to see a detail of the item. At>this point I switched from using a POST to using WebDNA CONTEXT tags in>the next page with the parameters coming from the URL in the list, like>so:
href=result.tpl?command=search&db=[State].db&eqSkudatarq=[Sku]>[City],>[Price]>>So all this works great and I am happily working along on the rest of the>details on the deatil page. Then i want to add a back button, so I find>this really cool tag [referrer] that will take me back a page, but when I>use it at this point the previous page does not remember what [State] it>was using and the whole thing falls apart.>>Anyone have any advice??>>- Charles>>_______________________________________________________________>Charles Kline ckline@macsultants.com>>>MacSultants>Professional Solutions for Computer Systems>>Phone# 609-273-3255>Fax# 609-273-3721 _________________________________ trevor crist inntopia.com, inc. stowe, vermont 802.253.2905 800.951.2414 http://www.inntopia.com http://www.onlinereservations.com
Associated Messages, from the most recent to the oldest:
Just add your variables to the referrer tag like this
[referrer]?state=[state]>I am using POST to build a search. After about 3 screens of data>gathering I present the user with a list of items that match their>search, from closest to not so close. The problem arises when the user>clicks on one of the links in this list to see a detail of the item. At>this point I switched from using a POST to using WebDNA CONTEXT tags in>the next page with the parameters coming from the URL in the list, like>so:
href=result.tpl?command=search&db=[State].db&eqSkudatarq=[Sku]>[City],>[Price]>>So all this works great and I am happily working along on the rest of the>details on the deatil page. Then i want to add a back button, so I find>this really cool tag
[referrer] that will take me back a page, but when I>use it at this point the previous page does not remember what [State] it>was using and the whole thing falls apart.>>Anyone have any advice??>>- Charles>>_______________________________________________________________>Charles Kline ckline@macsultants.com>>>MacSultants>Professional Solutions for Computer Systems>>Phone# 609-273-3255>Fax# 609-273-3721 _________________________________ trevor crist inntopia.com, inc. stowe, vermont 802.253.2905 800.951.2414 http://www.inntopia.com http://www.onlinereservations.com
Trevor Crist
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:
Sku numbers (1997)
Clear/Reset form with JavaScript (2001)
PCSDecrypt bugs still unfixed ... (2000)
A new bug? (1999)
Trigger Error (2001)
Sherlock and WebCat (1998)
Permission Denied Error (2001)
Loops N Variables (1998)
WebCatalog can't find database (1997)
[WebDNA] Finding duplicate email addresses (2008)
Security Question (1997)
Today's suggestions (1998)
Help name our technology! (1997)
2.1 pricing? (1998)
Multiple catalog databases and showcart (1997)
SiteGuard Use Question (1997)
MacFinder -- a new WebDNA web site (1998)
WC2b15 File Corruption (1997)
Re[2]: Next X hits (1996)
WebCat2: Items xx to xx shown, etc. (1997)