|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
refresh problem
Hi,
How you prevent / detect users press refresh button. I have a script that insert data on database and every time user refesh, it insert into database ? Thanks |
|
#2
|
|||
|
|||
|
RE: refresh problem
put a pragma=no-cache tag in the header so that it doesn't cache and expire the page immedaitely. Then redirect the user using a meta-refresh tag. If they hit the back button the page will be expired.
that's one way |
|
#3
|
|||
|
|||
|
RE: refresh problem
Thank you. However, can you give exactly what it look like. Otherwise I have to search again.
|
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Coding > refresh problem |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|