As you can probably tell from the subject line, I have no idea what to call what I want to do and am therefore having trouble finding info.

I'm looking for a way to include a section on a web page where the content depends on where the user came from. I use Cold Fusion Studio and assume there is a way to use the cfinclude tag??

Example: I have a site that sells widgets and stuff. I also have a contact page. If my user came to the contact page from widgets, I want to put another "widget" ad on the page. If they came to the contact page from "stuff", I want a stuff ad. I want one contact page that can be automatically modified to accomodate this.

Anyone have a solution, or ideas on where to look?

Mickie