The School for Champions is an educational website that shows you how to achieve your dreams.



Other ColdFusion topics:

Basics

Overview of ColdFusion

ColdFusion Features

Development methods

Setting up ColdFusion

ColdFusion Development Steps

Specific applications

Using Session Variables

Combining the Form and Action Pages

Using Drop-Down Lists

Converting ColdFusion to PDF

Dealing with Dates and Times

Sending a Flash Animation with ColdFusion Email

Changing Data to Telephone Format

Populating a New Database Table from an Old Table

Populating a Matrix Table

Sorting a Table Listing in ColdFusion

Also see:

Weekly Feedback Blog

ColdFusion Survey Results

Flash Development

Website Development

eLearning


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

Next 10


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.

Back to top


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.

Back to top

Next 10

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

ColdFusion Resources

Books

Top-rated books on ColdFusion


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?

School for Champions

ColdFusion topics

Answers to Readers' Questions


The School for Champions helps you become the type of person who can be called a Champion.