/    Sign up×
Community /Pin to ProfileBookmark

Javascript help, please.

I need a javascript that will only allow people to visit a webpage once perday. Please help! ?

to post a comment
JavaScript

5 Comments(s)

Copy linkTweet thisAlerts:
@felgallApr 29.2007 — You can use JavaScript to set a cookie on their computer and provided they allow it to be set and don't delete it you can then stop them accessing the site again. Anything more secure requires server side processing.
Copy linkTweet thisAlerts:
@Tweak4Apr 30.2007 — Of course, that could easily be foiled by the user either deleting or disabling cookies or disabling JavaScript. Is this going to be a "they absolutely can not visit more than once per day or my world will end" mission-critical situation, or a "I would really like it if they wouldn't visit more than once per day" situation?
Copy linkTweet thisAlerts:
@salsabearauthorMay 01.2007 — It's just an "I would really like it if they wouldn't visit more than once per day" situation...

=]
Copy linkTweet thisAlerts:
@rootMay 01.2007 — Why only once a day? It helps to understand why...
Copy linkTweet thisAlerts:
@salsabearauthorMay 01.2007 — It's for a game.
×

Success!

Help @salsabear spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.8,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...