Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
bforce #1
How to handle browser refresh and DB insert
Any ideas on how to accomplish the following:
I have a search page that inserts user's search terms into a database so I
can return "The Top Ten Searched for Companies Are". I want to prevent a
company from simply hitting the refresh button a hundred times and moving
themselves to the top of the list. I'm tracking IP addresses so I can
manually check but I'd like to programmaticaly minimize the ability to do
this. I thought of setting an initial value when the results page is hit for
the first time and then incrementing that value each time the page is
refreshed but I could not get it to work. Any ideas.
bforce Guest
-
Browser refresh
hi, I m a newbie. i tried searching on forum but couldn find answer. I have a login view as my first view.. and then to themain view.. however... -
Prevent data insert on page refresh
After a form is submited and inserted to the database, if the user hits the refresh button the data is again inserted to the database (there is a... -
CFGrid: browser Refresh after updates
As edits are made to my CFGrid, I find that you must select "refresh" from browser menu before updates will become evident. So my question is upon... -
How To Force a Browser To Refresh an swf Movie.
Maybe I have gone about this all wrong, but I have embedded swf's in my site so that when someone clicks an item in the nav menu, the new section... -
Handle user auto-repeating refresh in browser
Why would your users keep their finger on F5??? Thats like saying how do I disable Ctrl-Alt-Del so users won't accidently restart their system...... -
-
bforce #3
Re: How to handle browser refresh and DB insert
I think I'm actually going to do all my DB insert operations on a transfer
page that has a META REFRESH tag taking the user to the final results page.
A user could still back into the transfer page and add bogus records but I
doubt our target audience would go through the hassle or even know to do
that.
"bforce" <bforce@poultryegg.org> wrote in message
news:d7l50c$11j$1@forums.macromedia.com...> Any ideas on how to accomplish the following:
>
> I have a search page that inserts user's search terms into a database so I
> can return "The Top Ten Searched for Companies Are". I want to prevent a
> company from simply hitting the refresh button a hundred times and moving
> themselves to the top of the list. I'm tracking IP addresses so I can
> manually check but I'd like to programmaticaly minimize the ability to do
> this. I thought of setting an initial value when the results page is hit
> for the first time and then incrementing that value each time the page is
> refreshed but I could not get it to work. Any ideas.
>
bforce Guest
-
Stressed_Simon #4
Re: How to handle browser refresh and DB insert
Don't use meta-refresh use cflocation.
Stressed_Simon Guest
-
bforce #5
Re: How to handle browser refresh and DB insert
Thanks for the clue. Works like a charm and when the user tries to back into
the transfer page they get the original search page instead.
"Stressed_Simon" <webforumsuser@macromedia.com> wrote in message
news:d7mjej$si3$1@forums.macromedia.com...> Don't use meta-refresh use cflocation.
bforce Guest



Reply With Quote

