This is not about perl code directly, but about the cgi environment. So, I think it´s related to the problems that the Perl community faces when developing for the web. So here I go:
I usually have all the sites running in a major frame, while the user sees only the http://www.mydomain.com in their browser's adress bar, all the time. I´ve been doing this for two reasons:
Reason #1 - looks cleaner, the visitor´s experience is like a desktop software, without all those strange parameters showing out.
Reason #2 - the 1 pixel invisible frame (iFrame) I let above the major frame is usefull for making requests to the server without having to refresh the current page. I know there´s XMLHttpRequest, to do this without the need of this pivot technique, but if you´re talking about a https request, like a login-only ssl connection, XMLHttpRequest doesn´t handle it.
NEVERTHELESS, I´ve run across many problems of this approach, mainly because I´m starting to use mod_write's features, to provide my clients interessting adresses like http://www.mysite.com/products/DVDs (wich Apache, with my rule, rewrites to http://www.mysite.com/scripts/search.cgi?product=DVDs). The problems I´ve run into are these:
Problem #1 - The iFrame won´t be there when mod_rewrite urls are entered. So, on the scripts that require it, my javascript login is useless. And my site useless too! And that doesn´t happen only when mod_rewrite urls are entered, but everytime the user clicks search-engines links to the inner scripts its spiders have compiled, you know?
Problem #2 - Also related to the absence of the iFrame: I´ve provided this beautifull link for the DVD section, but when the user clicks anything, there you have all the dirty urls out!
So I thought about suggesting you guys we make a little survey about the approach regarding this issue. Maybe we get to some consensus about it.
andre_br
Considered (talexb): Retitle: OT: Hiding ..
Unconsidered (holli): Enough keep votes (Keep/Edit/Delete: 4/10/2)
In reply to Hiding Perl's Machine Room on the web by Andre_br
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |