473,472 Members | 2,088 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How to limit a user access a page only 1 time per hour?

I am developing a voting system. How to preventing a user votes
continuously? Maybe cookie is useful here, but I don't know how to use it.
Could you give me a example? Thanks.
Jul 19 '05 #1
2 1506
Personally I'd have gone the HTTP_REFERER route rather than cookies. Still
not very reliable if the user is with an ISP that uses Dynamic IPs as all
they need to do is disconnect and re-connect but it's still better than
cookies (IMHO anyway).

--

Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!
"Justin" <al*@ywzc.net> wrote in message
news:Xn************************@207.46.248.16...
I am developing a voting system. How to preventing a user votes
continuously? Maybe cookie is useful here, but I don't know how to use it.
Could you give me a example? Thanks.

Jul 19 '05 #2
On Tue, 27 Jul 2004 10:00:52 -0700, Justin <al*@ywzc.net> wrote:
I am developing a voting system. How to preventing a user votes
continuously? Maybe cookie is useful here, but I don't know how to use it.
Could you give me a example?


You'd have found your answer by Googling:

http://www.google.com/search?q=asp+cookie+tutorial

If you just look for ASP voting scripts you'll have plenty pre-written
and you can review all kinds of code and techniques for doing this.

Jeff
Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: indie | last post by:
how to make a user management in php, i mean that i want to limit the user access to my page. the script will not allow 2 user have an access to my page at the same time. the script only allow 1...
1
by: Arun Nair | last post by:
Hi, I have the following jsp page. I am able to view only a part of it(until the occurence of the first City text box). If i remove the first few fields from the page, I am able to see a few...
17
by: Mike A | last post by:
Hi, I'm hoping someone can help me with this. I have a URL for which I'd like to limit access to by time. For example,say I have a URL that I don't want accessable on Monday mornings between...
12
by: Ann D. | last post by:
Hi! I'm creating a website that has a few pages... question is, how can I prevent a user from going directly to a page. i.e. user has to go through myPage1.asp (page takes some user info) to...
6
by: Hannu | last post by:
Hi. In the ldb file you can see the users of the mdb-file. If you open the mdb-file your machine and username will be written in the lbd- file. Allthough you close the mdb-file your name won't...
1
by: ACaunter | last post by:
Hi all, I was wondering if there was a way to get the time from the user's computer. if i use system.now.hour.tostring() - it will give me the time of the computer where our server is being...
3
by: VB Programmer | last post by:
I have a SIMPL HTML form that displays a javascript clock. I want to take this component and put it in a web user control so that I can reuse it easily. The problem is I don't know what to do...
5
by: Nosferatum | last post by:
I am in need of a solution on how to solve this problem: I need to limit access to six different folders. My users are validated in a system which check their prescence with a couple of...
1
by: 3srt | last post by:
Hello. I am still relatively new to perl and have hit a few bumps along my way to finishing my program. Some background to my question: There are two files: info.html and run.cgi. A user...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.