...

View Full Version : checking refleshed or not



joonstar
04-20-2005, 03:53 AM
Can I check refleshed or not-refleshed(normal open)?



The following is the would-be code for checking refleshed or not.



<if a user clicks the button reflesh of the browser>

Yes, it is refleshed.

<else>

No, it's not refleshed.

</if>

glenngv
04-20-2005, 04:26 AM
No. Can you tell us your actual problem? There might be real solutions to the problem rather than detecting if a page is refreshed or not.

joonstar
04-20-2005, 04:40 AM
No. Can you tell us your actual problem? There might be real solutions to the problem rather than detecting if a page is refreshed or not.


I have a verification word page which displays verificatiion word.

If a user copy the verification word, and paste into an input box which is in another page, the verification procedure will be succesfully finished.

when a user clicks the refleshe button at the verification word page,
The random verification word is changed.

So I like to make it not to change although a user clicks the reflesh button.

Nightfire
04-20-2005, 11:51 AM
Doubt you can do it with javascript, but I guess you could do it with something like php, just store the verification word in a session - although it won't be 100% secure to do it that way.

It's also refreshed, not refleshed :)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum