IP Address And A Poll

I only let them vote on my poll once. I set a cookie and put there IP in my database. Then I do a select to see if there IP is in the database and check to see if they have a cookie. Does anyone see a problem with this?

View Replies


ADVERTISEMENT

Poll Id

I'm pulling from a sql dbase, i want to be able to pull this poll by a specific id. when i do this it just gives me the number 1 for the poll question and only gives me one answer to responde to.

Code:

EnSQL = "select * from poll where id = 1 "

View Replies View Related

POLL

I need help with this scripts! i dont know what to fill in and where.

<%
'Enter the details of your server below
src = Server.MapPath("db/poll.mdb")
Set adoCon = Server.CreateObject("ADODB.Connection")
sConnStr = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & src
adoCon.Open sConnStr
%>

View Replies View Related

Poll Engine

I've been asked about poll engine.How hard would it be to code a poll engine?Does anyone know?

View Replies View Related

Poll Script

how to write a routine for voting? Like Vote for some thing Yes/No and then it shows graphically in percentage for Yes and for No in ASP.

View Replies View Related

Simple Poll

I have a simple poll located at http://nysdelpaso.com/poll/vote_db.asp. The code can be seen at http://nysdelpaso.com/poll/vote_db.txt. The script is very simple one asp file. This script will poll a user and give them 4 possible options.

When they hit submit the script displays the results. Currently,a user can ONLY vote once, due to IP logging. The script stores the users IP address in a Microsoft Access (.mdb) database. I would like to know what needs to be changed in order for someone to vote an unlimited number of times?

View Replies View Related

Permission Denied. Address 'zzz.zzz.z.zzz' Is Not An Allowable Remote Socket Address.

Permission denied. Address 'zzz.zzz.z.zzz' is not an allowable remote socket address.

What is the significance of this error, and what should be looked into to fix the problem?

(if this is of relevance: My sandbox is localhost.. so zzz.zzz.z.zzz is internal ip)

View Replies View Related

Poll & Count Syntax

My poll's database has a table called "votos". This table as 3 fields: "date", "ip" and "voto". In the field "voto" I will record the option chosen in the previous form (this input may be "01", "02", "03",..., "19" or "20").

Now I want to show the results and for that, I must count the number of time that each option is displayed. Can anyone tell me the count syntax for that? I've tried to change an example I've found in internet, but didn,t achieve it... The code:

View Replies View Related

[poll]session Or Cookies

what do you prefer ?

1. using session or cookies?
2. why?
3. how long the expired time?

View Replies View Related

Poll Interface Creation

i'm getting a bit cought up with the ASP for a poll creation page i am trying to do.

i am trying to get it so that it will display a varying number of boxes depending on how many options there will be - have it so that it displays the first 2 (the minimum options) and then the other input form elements will be added as needed i'm also having a bit of trouble trying to get the numbers to update with the onchange but that part doesnt feel like its the most challenging - heres what i have so far: Code:

View Replies View Related

Displaying Bar Graph For Online Poll

Database and all the pieces are in place. On the results page the query returns the % calculation for a question (displayed) options (each individually).

I need to display bar graph, this is here that i am getting into problem. The background color would be #555555. How can i apply this color to certain % of the container as background?

View Replies View Related

Creating Exit Poll For Websites

I need to offer a questionaire to approximately every 10th user of my website when then are leaving.

My first thoughts were to use an application variable to determine the number of users but this falls over because it would not instantly release the variable when the user left the site.

View Replies View Related

Creating Some Type Of Hardware Poll

I have a question that may sound stupid, but I want to implement some type of ASP script that can retrieve hardware information of a computer that visits a certain site. I've seen this type of thing before, and I want to do it for a beta-test site I'm planning on running for the ISP I work for. I want to use this type of script that will poll information such as Processor, OS type, Memory, etc. If someone could provide me with some insight on one such script or give me a link to where I can learn how to write this myself, that would be great.

View Replies View Related

Remove Email Address/ Pseudo Email Address

has anyone got a function or subroutine which will remove blank out or remove email addresses.

i've wrote a function which will remove valid email addresses, it's pseudo addresses such as "blah @ blah.com" or "blah_at_blah_dot_com" or "blah_at_blah_._com"

the function is basically to stop users posting an email address in a message.

View Replies View Related

Getting MAC Address Using ASP

It it possible to get the MAC Address of the client PC using ASP. Also can I
get the HDD ID/Serial Number also using asp?

View Replies View Related

Ip Address &

i want to get the ipaddress,and the country name of a webpage
visitor,using asp.Net(C#).if anyone knows about it

View Replies View Related

How To Ban An IP Address?

Is it possible to ban an IP address from global.asa, or by another method?

On a shared server, I'm seeing someone from China that appears to be trying to access my
site illegally (trying to access server root via cgi-bin).

Can I test for the user from global.asa and then execute a Response.End? Or is there
another way?

View Replies View Related

Mac Address

What is the best way to pull a pc's Mac Address from a web page?

View Replies View Related

Get IP Address

Currently, I want to get the IP address from giving hostname in the Active Server Page. I know the hostname, I want to get the IP address via hostname in an ASP page.

View Replies View Related

Getting MAC Address

It it possible to get the MAC Address of the client PC using ASP. Also can I get the HDD ID/Serial Number also using asp?

View Replies View Related

Get IP Address

How can I get the IP Address of the system that the client uses through ASP. I used Request.ServerVariables("REMOTE_ADDR")to get the IP Address, but that always prints 129.0.0.0 as IP address but that's not the IP Address of the system. Tell me if there is if there is any other alternative.

View Replies View Related

Getting IP Address

How can I retireve the IP Address in ASP as a string ?

View Replies View Related

Mac Address Of A NIC

How do i pick the MAC address of a network card using ASP. Is it possible to identify a system e.g the mother board ID or processor using ASP or any other object.

View Replies View Related

MAC Address'

How do you find a Mac (Hardware) address using vb scipt in asp?

View Replies View Related

Getting MAC Address Using ASP

It it possible to get the MAC Address of the client PC using ASP. Also can I get the HDD ID/Serial Number also using asp?

View Replies View Related

Get MAC Address

Is it possible to check the Physical Address of the computer logged on the page in it's format like 00-08-E6-54-E4-9F ?

View Replies View Related

IP Address

I tried the followin code in all PCs at my organization

<%=Request.ServerVariables("REMOTE_USER")%>

but it returned the same IP address everywhere. How to get the actual IP address of one's machine?

View Replies View Related

Get Ip Address

I would like to make ASP code that would put IP ADDRESS of person who visits my page into a variable . sth similar to IP = request.form("IP ADDRESS") ... just i would like to request "IP ADDRESS" and put it into "IP" .

View Replies View Related

Obtaining IP Address With ASP

In reference to an e-commerce website, is it possible (using Active Server Pages) to obtain the IP address of a particular user? I would like to get an address that uniquely identifies the user. If so, how would that be done?

View Replies View Related

Grab ID# From Address Bar

I bet this is a simple one, but I just don't know.

www.mydomainname.com/12345

How do I grab the 12345 in my ASP page as the ID#?

View Replies View Related

Remote IP Address

I'm trying to get remote ip address and local ip address
of the user (i.e. machine name) but i couldnt find out it.
however i can see the public remote ip address.here is
the little code that i have written..

<%
For Each Item in Request.ServerVariables %>
<tr>
<td><%= Item %></td>
<td><%=Request.ServerVariables(Item)%></td>
</tr>
<%
Next
%>

View Replies View Related

XML Package And IP Address

I have been developing an online payment system using classic ASP
which uses Msxml2.ServerXMLHTTP to submit an XML package to a 3rd party payment
system. The website the payment system is part of is one of many on a
Server 2000 / IIS5.0 installation. Each web site on my server has its
own IP address. The 3rd party payment system is hosted on another
server not under my control.

The issue I have is that when the XML package is submitted, the 3rd
party system is not registering the correct IP addresss for the
originating request from the website, it is registering the 'Core' or
first IP address on the server. The originating IP address is part of
their authentication model and so the XML submission is failing
because the wrong IP address is being passed through.

View Replies View Related

Address Validation

Ive been looking everywhere for some simple street address validation. All I can find is email. Im not that great at working with string because I forget a lot =P but how can I check a string so that the format is like a street address.

str = "1015 Salem Street"

If street address is correct then
strsql(insert...
else
Invalid Street address

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved