Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Regular Coder
    Join Date
    Apr 2003
    Location
    Seoul, Korea
    Posts
    329
    Thanks
    0
    Thanked 0 Times in 0 Posts

    checking refleshed or not

    Can I check refleshed or not-refleshed(normal open)?



    The following is the would-be code for checking refleshed or not.
    Code:
    <if a user clicks the button reflesh of the browser>
    
    Yes, it is refleshed.
    
    <else>
    
    No, it's not refleshed.
    
    </if>
    Get my greedy up

  • #2
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    11,037
    Thanks
    0
    Thanked 250 Times in 246 Posts
    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.

  • #3
    Regular Coder
    Join Date
    Apr 2003
    Location
    Seoul, Korea
    Posts
    329
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by glenngv
    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.
    Get my greedy up

  • #4
    Senior Coder Nightfire's Avatar
    Join Date
    Jun 2002
    Posts
    4,265
    Thanks
    6
    Thanked 48 Times in 48 Posts
    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


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •