Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
How can I prevent a user from actions like: accessing page from reloading, double clicking and multiple windows.
Several bank websites blocked users from reloading and multiple window opening, like for example: icicibank.com or onlinesbi.com.
Long answert short: you can't.
The browser isn't yours, it's the users. Don't tell him what to do.
What you can do, is punishing them when they do so. Like, showing him a javascript popup asking him not to, and prevent the page to show again if he refreshes, using a token for instance.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
i have a website where you click on a tomato and get points based on how many times you've klicked on it. The problem is that it's all running on php and AJAX requests. Every 10 seconds an request is sent on how many clicks the user has now, and the server updates. So in theory a user could just send requests of them having 30000 clicks and it would register. A friend of mine said that i should use node and register every click individualy with a socket, but everything so far is running on php. Is there a way to open a node server and make it talk with php?
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 4 years ago.
Improve this question
I have a PHP mySQL site that uses SESSIONS. the users work on Forms for sometimes multiple hours. We have no issues with session timeouts, but I am receiving complaints that when they plug the iPad in during one of their form inputs, it kills the session and they have to log back in, loosing all of the data input. I am at a loss on this one. AJAX isn't an option at this time.
Any ideas on what to check?
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
After hours of trial and error, using WAMP i made a login system that mails me locally ( password recovery etc). I want to make pages that only the user has information tailored to the user, think of it as a profile page Facebook or Twitter, the news updates.
You can use sessions. In php you can type session_start(), then you can store some information about the user. So if the user don't have a session he can't access the page. Search about session_start(). You will find many examples about it.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I'm creating a wordpress website, and I want that when I or an user make a post it gets automatically reposted to other sites.
I know that there is API for major websites, for example facebook and twitter. But what if I want to make a post in olx.com? they have no API. Is there a way to create a php function that logs into olx, post and logs out? It doesn't have to be a php function, i'm open to ideas.
There is a lot of reasons to not do that.
Better stay safe and play with the websites that have api, allow feeds or already implemented a way for you to post on their sites.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I want to prevent users the ability to unlike my page having clicked they like it because I have it prominently displayed next to my site's header. I am afraid that people will accidentally "unlike" my page having already clicked it once to like it.
So far I have explored a php proxy so I can use a custom css page. Anyone else have any ideas? What about a non-iframe facebook like button?
well, preventing from double click might be hard,
but after your page loaded you can get the text the inside of fb like box element, learn the id via firebug) if it is 'liked', you can hide the box..
of course you can do this only for fbml, not for iframe.
otherwise, you can't!
i suggest you to check other likebox styles. http://developers.facebook.com/docs/reference/plugins/like-box