How to get rid of echo's on page refresh

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Cole001
Forum Newbie
Posts: 7
Joined: Mon Jan 30, 2012 5:43 am
Location: Ahmedabad, Gujarat, India

How to get rid of echo's on page refresh

Post by Cole001 »

Hello,

anyone know how to get rid of an echo when you hit refresh on the browser?

My browser is remembering the echo from with in a if statement when refresh is hit even if the if statement remains false on refresh.

Thanks for the help,
Cole
User avatar
social_experiment
DevNet Master
Posts: 2793
Joined: Sun Feb 15, 2009 11:08 am
Location: .za

Re: How to get rid of echo's on page refresh

Post by social_experiment »

Could be the browser's cache? What does the code look like
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” - Mosher’s Law of Software Engineering
temidayo
Forum Contributor
Posts: 109
Joined: Fri May 23, 2008 6:17 am
Location: Nigeria

Re: How to get rid of echo's on page refresh

Post by temidayo »

It's not likely the browser cache. Server-side scripting are rarely cached unless an explicit cache system is in place.
Post Reply