Re: where to put code
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 19322
interpreted = N
texte = >>>In some of the samples I've seen sometimes the WebDNA code is within the>>>HyperLInk, sometimes in hidden form fields and sometimes in the file that>>>is returned.>>Unfortunately the manual gives no comments about advantages and>disadvantages in a clear manner.Well, you're right about that.>I personally prefer to use the context method on resulting pages. There I>can see the code at once, which makes it easier to understand. Anyway - I>do not like these long ugly URL's... And if one uses Replace or Delete>in a link, then this command has to be allowed for user input and therefore>some funny guy can destroy the database by simply playing with the URL.>There can be situation when commands in th URL make sense, but my personal>recommendation is to use contexts like [search...] on the target page>whenever you can.I agree. My technique, mainly for security reasons, is to use contexts all the time. I never put commands into my URLs, because then I can disable all commands, thereby making it impossible for people to send commands by typing them into the Location field in their browsers.Sincerely,Ken Grome808-737-6499WebDNA Solutionsmailto:ken@webdna.nethttp://www.webdna.net
Associated Messages, from the most recent to the oldest:
>>>In some of the samples I've seen sometimes the WebDNA code is within the>>>HyperLInk, sometimes in hidden form fields and sometimes in the file that>>>is returned.>>Unfortunately the manual gives no comments about advantages and>disadvantages in a clear manner.Well, you're right about that.>I personally prefer to use the context method on resulting pages. There I>can see the code at once, which makes it easier to understand. Anyway - I>do not like these long ugly URL's... And if one uses Replace or Delete>in a link, then this command has to be allowed for user input and therefore>some funny guy can destroy the database by simply playing with the URL.>There can be situation when commands in th URL make sense, but my personal>recommendation is to use contexts like [search...] on the target page>whenever you can.I agree. My technique, mainly for security reasons, is to use contexts all the time. I never put commands into my URLs, because then I can disable all commands, thereby making it impossible for people to send commands by typing them into the Location field in their browsers.Sincerely,Ken Grome808-737-6499WebDNA Solutionsmailto:ken@webdna.nethttp://www.webdna.net
Kenneth Grome
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:
Before I Can Begin . . . (1998)
[Announce]: Web server security and password protection (1997)
File Upload (1997)
quantity minimum problem (1997)
form data submission gets truncated (1997)
Flash (2000)
Server Freeze (1998)
[ShowNext] feature in 2.0 (1997)
WebCatalog2 Feature Feedback (1996)
Formvariables name matching (2005)
WebCat2 - [SendNews] (1997)
Announcement-WebCatalog 2.0 Released (1997)
WC Database Format (1997)
I can help! (1996)
Forms Search Questions (1997)
WebDNA for Dummies (2007)
Secure Server (1997)
WebCat2 as a chat server? (1997)
Re[3]: 2nd WebCatalog2 Feature Request (1996)
Getting URL's entered manually (1997)