SfC Home > ColdFusion >
Reader questions and feedback on ColdFusion Development. Also refer to markup language, CFML, Macromedia, Dreamweaver, code, web site, Ron Kurtus, School for Champions. Copyright © Restrictions
Answers to Readers' Questions on ColdFusion Development:
One Page
The following 2 comments and questions have been sent in. They are listed according to date.
List of first 10 items
Back button doesn't work on some sites
Question
February 26, 2007
At www.frapple.com if you type in the link code BAZ it opens my page (no problem) the back button opens index.cfm (again no problem) Yet if you enter the link code coke37 the back button opens the form script, and the page redirects again.
Also, link NHL and the back button opens the form script, yet link NFL and back button works fine.
Question, how can I make the back button return to index.html every time?
Thanks
Michael - Canada
13257
Answer
The problem is really not a ColdFusion issue. It probably is done with JavaScript.
For some reason, marketeers feel that making a site "sticky" in that you cannot exit the page with the back button, that people will look at their content more. In reality, it is a very unfriendly tactic that can get potential customers anger, especially if they have to close their browser to exit. You can get out of the page by looking at your browsing history, but many people don't know that.
I've never really looked into how to deactivate the back button, so I can't help you with that.
May not be the best
Question
November 10, 2003
Hi,
With new CFC's i don't think combining form and actionpage is the best way to go about this. Currently i'm trying to use CFC's for all database access. For clean coding i've learned from various sources that you shouln't mix the three layers: the front end, which consists of the user interface and application controls; the middle tier, which consists of the code; and the back end, which consists of the database, data structures and other assorted gremlins.
Just some thoughts on this subject.
marc -
1137
Answer
Thanks for your thoughts. On some highly formatted pages, combining form and action can become a mess. That is mixing the user interface and the code. In a page that has a simple interface, it can be convenient to combine form and action.
But in general, I agree that a more disciplined structure is better.
Summary
Hopefully, this reader feedback has helped provide information about ColdFusion issues.
Always do your best
Resources
The following are some resources on this topic.
Websites
Books
What do you think?
Do you have any questions, comments, or opinions on this subject? If so, send an email with your feedback. We will try to get back to you as soon as possible.
Feel free to establish a link from your website to pages in this site.
Where can you go from here?
Answers to Readers' Questions
