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:
[WebDNA] WebDNA Roll Call (2013)
Capitalize command (2000)
Is this possible, WebCat2.0 and checkboxes (1997)
Aliases disable template updates ... :( (1999)
Showing unopened cart (1997)
Smart caching problems with 2.1b3? (1997)
form data submission gets truncated (1997)
Question re: FlushDatabases (1997)
[WebDNA] Secure Cookies (2009)
WebMerchant (1997)
Standalone Testing (1998)
WebCatalog2 Feature Feedback (1996)
Search in 2 or more catalogs (1997)
Setting up shop (1997)
decrypt trouble (2006)
Reversed words (1997)
RE: creating writefile data from a nested search (1997)
[protect] on NT? (1997)
Version f1 status (1997)
Again: tcpconnect problem with authorize.net (2003)