55 users online (0 members and 55 guests)  


Page 1 of 2 1 2 Last
  Results 1 to 15 of 28

Related

  1. enable and disable submit button    Forum: PHP Forum
    Replies: 1
  2. Replies: 3
  3. submit button enable and disable    Forum: PHP Forum
    Replies: 1
  4. Back button.    Forum: PHP Forum
    Replies: 1
  1. #1
    ShareInfo's Avatar
    Junior Member

    Status
    Offline
    Join Date
    Oct 2001
    Location
    Charleston, SC
    Posts
    40

    Question Disable Refresh and Back button??

    Hi friends at AHFB2000..

    A question here;

    Is there ways to disable users from using refresh when they clicked into a specified link. And I am also trying to prevent users using the back button on the browser.

    Found some meta options for no-caching, but it just did the job temporary.. Wanted it more permanent. If the user has viewed the link a certain times then I want to block refresh and the back button. Has seen several sites that do this without that you need to use redirect.

    Any ideas or comments that guide me in the right direction is appreciated.....


    Greetings.. ShareInfo

  2. #2
    HTML's Avatar
    Administrator

    Status
    Offline
    Join Date
    Aug 2000
    Posts
    3,445

    Follow HTML On Twitter Add HTML on Facebook Add HTML on Google+ Add HTML on Linkedin Visit HTML's Youtube Channel
    Gonna have a hard time getting help on that here, that is more a porn, warez scum trick. Most users here are interested in making the web a better place, not a web full of traps and browser hijackers.

    Dave
    AHFBWEB Less customers per server, more power for you!

    Business Class Shared Hosting

  3. #3
    ShareInfo's Avatar
    Junior Member

    Status
    Offline
    Join Date
    Oct 2001
    Location
    Charleston, SC
    Posts
    40

    Cool ooopsss

    ??

    ... don't want to get my self related with any scums, porn sites or warez sites...

    I have seen these options on some programs that I have used and still use, and I can't say I relate any of these programs with warez programs...

    But I take your comments into my considerations and will see what I can do to avoid get my self related with any kind of scums, hijakcers etc......

    Greetings.. ShareInfo

  4. #4
    benzden's Avatar
    Senior Member

    Status
    Offline
    Join Date
    Feb 2002
    Location
    San Antonio, Texas
    Posts
    652
    The future of the internet lies in the direction of enhancing user options - not in limiting them. Sites that use those kind of user unfriendly techniques are not revisited by me.

    But, I suppose there's a future at Microsoft for people who do think like that.

  5. #5
    ShareInfo's Avatar
    Junior Member

    Status
    Offline
    Join Date
    Oct 2001
    Location
    Charleston, SC
    Posts
    40

    Cool Hi again

    Txs for your comments..

    As said I will do what I can to avoid getting my self or my programs related with any scams, warez programs etc...

    I might have expressed my self wrong in my first thread here, not sure. As I said I use programs that have some of the options I actually was looking for.

    And I found a script that was developed by the author of SAMS tech books that did some of what initially asked for.

    He has a script that generate one time urls.

    1. The intention with this script is let the member click once on a given link and get credit for this.

    2. After that the member will not be able to redo the same mission to get double credit for clicking on the same link.

    What I discovered was that with back/refresh the second part of this script did not work like intended. And I was able to double click on the link. actually back was not the problem, it was more refresh that was the problem. Because the script creates a random token, and the link acutally appears to be different with use of refresh.

    Some of the programs that I have seen use this option is some SafeList programs I use. I get email with credit on it, and click on the link once, and I am not able to try recreate this mission to get double credit for clicking on the same link.

    But if I understand you guys correct;

    1. Should I avoid doing this trying to disable back/refresh

    or

    2. Should I just totally avoid this

    Well, again txs for your comments, I for sure don't want to put my self in a position where my programs is considered as warez or my self is considered as a browser hijacker..

    Greetings... ShareInfo

  6. #6
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    Forget all the disabling and refreshing.

    I would design the 'token' so that it cannot be used twice. Presumably, if you are tracking 'credits' as it were, then the 'mission' could be tracked by a session. Sessions, contrary to most thinking, are excellent ways of tracking users. Even if the user disables cookies completely, it is still possible to encode the information in the url string.

    Once that session has been used, store the session id. You can then code the script so that it does not accept the same session ID twice.
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?

  7. #7
    HTML's Avatar
    Administrator

    Status
    Offline
    Join Date
    Aug 2000
    Posts
    3,445

    Follow HTML On Twitter Add HTML on Facebook Add HTML on Google+ Add HTML on Linkedin Visit HTML's Youtube Channel
    I respect the fact that you are looking to do what is best for your users, that is the only way to be a success. It seems there should be a much better way of accomplishing what you want.

    Some of the programs that I have seen use this option is some SafeList programs I use. I get email with credit on it, and click on the link once, and I am not able to try recreate this mission to get double credit for clicking on the same link.
    Since you mentioned safelists, and understanding what you are trying to do, I decided to take a look at your site in your profile. I dont intend to flame, but you are on the wrong track in my opinion, and I am not surprised at your desire to hijack the browser. Sorry but these gimmiks are so 1999ish and are definately looked upon in the same light as the scum dealers.

    As far as helping you with your problem, it is not something I have ever had the urge to learn.

    Dave
    AHFBWEB Less customers per server, more power for you!

    Business Class Shared Hosting

  8. #8
    ShareInfo's Avatar
    Junior Member

    Status
    Offline
    Join Date
    Oct 2001
    Location
    Charleston, SC
    Posts
    40

    Cool ....

    Txs QuietDean for your answer, I guess that was in a way what I was looking for.

    Dave, I'm a bit unsure about your comments. Do you say that the way I already have my program this is to be considered as a scum program or that I am trying hijack browsers?? Or is related to my orignal question, that this will bring me in the wrong direction.

    If I am breaking any rules, well I will try do my best to correct that. Critical comments will be essential for me to be able to do so.

    BTW. My question was not related to my Top List program at all.

    Greetings... ShareInfo

  9. #9
    HTML's Avatar
    Administrator

    Status
    Offline
    Join Date
    Aug 2000
    Posts
    3,445

    Follow HTML On Twitter Add HTML on Facebook Add HTML on Google+ Add HTML on Linkedin Visit HTML's Youtube Channel
    All I was saying is that the type programs you are promoting proved my point in regards to browser hijackers. Of course this is subject to different opinions, but just looking up safelists and clicking on the first result I had a wonderful popup take over my entire screen.
    AHFBWEB Less customers per server, more power for you!

    Business Class Shared Hosting

  10. #10
    sonofmidi's Avatar

    Status
    Offline
    Join Date
    Jan 2001
    Location
    NC, USA
    Posts
    75
    Crazy, Dave is refering to tactics used by unscrupulous sites as well as newbies loading their pages with every JS gimick available. Such as forcing full screen or forcing a page to open in a full screen popup that has no close window functions or nav buttons. These tactics are commonly used by warez and porn sites or sites that trick you into clicking on advertiser links. That being said, Quietdean offered the solution. I am assuming that a user must login. Set a session using the username at login. Use an If statement to enable the link to be visible only if the user has logged in. Once the users clicks said link, set another session giving the link an ID. If the user clicks it again, an If statement can be used to test for userid and the set link ID. If true, it will print a message to the effect of "You may only click once for credit". Problem with this is that the user can simply close their browser to kill the session and log back into your site. You could initially have it log the session in the db with a timestamp. If the user logs back in, it would campare the current time to this value. If it is say less than 48 hrs or 6 mos or whatever, use the If statement to check for this. Even better, once the user clicks the link, use an If statement to check linkid and userid sessions that are stored in the db and only make the link available again after a set time.

  11. #11
    ShareInfo's Avatar
    Junior Member

    Status
    Offline
    Join Date
    Oct 2001
    Location
    Charleston, SC
    Posts
    40

    ..

    Txs Dave for your comments.

    I guess I agree with you to a certain point. Some of the SafeList programs I have seen don't appeal to me of the reason you gave here.

    And I was also a bit critical when I joined some of these programs.

    But I will try avoid getting my programs on that track. Most of my scripts is based on books I got from Barnes & Nobles written by well know authors. So as far as I can see it's more the question I originally brought up here that will bring me in the wrong direction.

    I will more look into the option QuietDean was talking about. Hopefully this will avoid me getting into the wrong path.

    Greetings ShareInfo

  12. #12
    Shiyam's Avatar
    New User

    Status
    Offline
    Join Date
    Jun 2003
    Location
    India
    Posts
    1
    Hi Crazy,

    In the last forum postage i saw that u have the option for disabling the back button

    "Found some meta options for no-caching, but it just did the job temporary.. "

    for disabling the back button and refresh

    I like to know the coding for it.

    I too in need of the same.

    but i need for disabling back button immediately

    the option history.forward() doesn't fit

    pz help me immediately

    bye
    Shiyam

  13. #13
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    Hi Shiyam. Welcome to the forums.

    The quickest, dirtiest but most reliable answer is to load the page you wish not to be able to use the back button in into a popup. With a popup, you can specify not to have any toolbars at all, so they wont be able to click back.

    have a look at the popup maker at www.ahfb2000.com/webmastertools.php
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?

  14. #14
    JBendler's Avatar
    New User

    Status
    Offline
    Join Date
    Jan 2004
    Posts
    1

    Disbelief

    I can't tell you how dissappointed I am in the responses that I have seen to this thread. Most of the answer were written, not to assist, but to state the person's own political views (as I am doing now) as to what they assume the requestors intentions are. My gosh, folks, we're all in this together. Why must you snip at others? There is too big of a tendancy for us techies to hold our noses in the air, with our eyes and ears closed to everyone who doesn't think like we do. Then, with pride and a smug tone in our voice, we tell them "How it is". The only thing I have to say is I think it would be much better to politely and respectfully try to answer the questions. If you do not have anything constructive to say, then why say it?

  15. #15
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    Fair comment, but you will find there is more to web-design than technical details.

    Ethical use of web-pages is an issue for every web designer.

    might be worth starting a thread in 'webmaster ethics', looks like it could be an interesting discussion.
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?



Page 1 of 2 1 2 Last

Tags for this Thread