Voting System Based On MAC Address?
Aug 26, 2010
I am looking into making a voting system for an event.
I would like to base the voting system off of MAC addresses. I would like to get the voters mac address, check to see if they have voted within the last 5 minutes, if they have not, let them vote and add their mac address and current date-time to a table as a record. If they have voted within the last 5 minutes, i would then inform them and tell them to try again later. If it has been longer then 5 minutes, i would clear their record from the database, let them vote and add a new record with their mac address and date-time.
The problem with using IP, is that most of the people voting will be on the same network (large organization) and i believe the ip the website would pickup would be the same.
View 1 Replies
Similar Messages:
May 5, 2010
my website is developed using asp.net, vb.net and sql server 2005.Now i want to develop a polling system, using vb.net or XML.and the polling sytem must have feature which is one person from one computer can only vote once per day. isitors of my site will not vote more than once per day.so can u redirect me to a site where i can get a steps to build this voting sytem or a source code to be downloaded freely?
View 4 Replies
Sep 19, 2013
How to show star voting system using ASP.Net, C#.
View 1 Replies
Feb 2, 2010
I need to redirect some users based on their ip address to specific page else they would be redirected to another page my code is as below.
string myIP = HttpContext.Current.Request.UserHostAddress.ToString();
switch(myIP)
{ [code]....
View 2 Replies
Aug 31, 2010
I need my system IP address. I've used Request.ServerVariables["remote_addr"] but it is being provided IP address of my network(intranet) not my local system ip.
Actually I've set session state off and want to identify the user request. So i want to fetch the system IP not router/network IP.
View 3 Replies
Nov 9, 2010
Is it possible to programmatically set the session timeout for a user-session based on the user's IP address?
Example: if IP address is in the range of 192.0.X then set session timeout to 6 hours. Otherwise, leave at default set in web.config (or set to 30 minutes).
Presumably this would be done in Global.asax:Session_Start. For now I would be ok with just using the IP address of the user's first request in a session (allowing for the fact that a user could change IP addresses mid-session).
ASP.net 3.5, IIS 7
View 3 Replies
Feb 15, 2010
I Want to get client system information that is
1. Client system name
2. Logon Username
3. OS Drive Name
4. how to copy a file from server to client ?
View 4 Replies
May 19, 2010
In one online application, like online exam, If two users are on same IP address series then I need to generate questions that are completely different.
I am having no idea what approach should I follow.
View 1 Replies
Feb 12, 2011
How to find geolocation details based on IP Address for visitor details?
View 2 Replies
Oct 21, 2010
I am makiing a web application and this application will run only in LAN enviorement.what i want to do is-
there is a textbox and a button start. in this textbox i want to give IP address and on button click i want to run a exe on the particluer system ( ip given). and on stop click i want to stop the exe.
View 5 Replies
Jan 23, 2011
how do I write a regular expression to filter out email adresses in asp.net mvc? I would like in example to allow users registering email adresses only if coming from [URL] domain.
View 1 Replies
Jul 17, 2010
I am building a site similar to a forum. I would like to add voting and reporting abuse functions to my website by displaying those two buttons on each post the users submit. Has anybody by chance done this kind of work before? how to accomplish it as I am not a professional developer.
I'm using Windows 7, VWD 2010, Sql Sever 2008, IIS 7.
View 4 Replies
May 31, 2010
I created a website and i restrired the website such a way that i can be acessed from a IP i configured.I did this as shown in below steps which i got from:
http://support.microsoft.com/kb/324274
Under IP Address and Domain Name Restrictions, click Edit.
Do one of the following:To deny access, click Granted Access, and then click Add. In the Deny Access On dialog box that appears, specify the option that you want, and then click OK.The computer, group of computers, or domain that you specified is added to the list.
To grant access, click Denied Access, and then click Add. In the Grant Access On dialog box that appears, select the option that you want, and then click OK.
The computer, group of computers, or domain that you selected is added to the list. Click OK.
But its not working . I am able to browse from other machine which have a different ohter IP. Do i have to configure somewhere else ?
View 3 Replies
Jun 21, 2010
able to validate any email address based on the domain. For example, the system says anybody with a microsoft.com email address can create an account. Here is my code so far, it doesn't appear to work.
If Not Regex.IsMatch(tbEmailAddress.Text.Trim, "^([0-9a-zA-Z]([-.w]*[0-9a-zA-Z])*@" + mySetting.EmailDomain)
View 2 Replies
Mar 2, 2010
I am tasked with providing a membership form that requires users to given their postal addresses. The form needs to be very friendly to maximize data accuracy. So I am required to take the user's country and their zip code and from that pre-populate the town field. Moreover, this must be done in the official language of the country chosen e.g.Japan/Japanese. Since I don't really believe this is yet
possible, my starting point will be an English version of this.
Does anyone know of a database/web service that can provide*international* address information based on country and zip/postal code?
View 2 Replies
Feb 5, 2010
I am unsure how to go about my task. I need to get the email property from asp.net's profile class.
I am loading a formview based on username stored in an sql table. I want to get the email address from the users profile based on the matching username fields
In pseudo code:
Get profile.emailaddress where username.text = profile.username
View 2 Replies
Aug 21, 2013
in my asp.net+vb web page which is use din INTRANET web . In a page i want to restrict the browsing for four peoples only, so that i used a code like below.
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim ipaddress As String
ipaddress = Request.ServerVariables("HTTP_X_FORWARDED_FOR")
If ipaddress = "" OrElse ipaddress Is Nothing Then
ipaddress = Request.ServerVariables("REMOTE_ADDR")
End If
iptxt.Text = (ipaddress)
If iptxt.Text = ("192.168.0.3") Then
Response.Redirect("err.aspx")
End If
end sub
in my asp.net+vb web page which is use din INTRANET web . In a page i want to restrict the browsing for four peoples only, so that i used a code like below.
ProtectedSubPage_Load(ByVal sender AsObject,ByVal e AsSystem.EventArgs)HandlesMe.LoadDim ipaddress AsString ipaddress =Request.ServerVariables("HTTP_X_FORWARDED_FOR")If ipaddress =""OrElse ipaddress IsNothingThen ipaddress =Request.ServerVariables("REMOTE_ADDR")EndIf iptxt.Text=(ipaddress) If iptxt.Text=("192.168.0.3")ThenResponse.Redirect("err.aspx")EndIf
View 1 Replies
Mar 3, 2014
I need client ip and login user name of a system, while using my web application in ASP.Net ....
View 1 Replies
Dec 10, 2010
Does anyone know how I can authenticate users based on their Email Address and Password as oppose to Domain, Username and then Password?
View 1 Replies
Oct 4, 2010
Has anybody else had an issue with the sender address not being used as the return-path/bounce address when using system.net.mail to send email with a different address for the return-path/sender and the from address and using the SpecifiedPickupDirectory delivery method? This issue is particularly important when you need to send mail from a "user" address, but want bounce backs to come to a different address so they can be processed. Using the code below, I think you can reproduce the issue.
Imports System.Net.Mail
Partial Class emailtest
Inherits System.Web.UI.Page
Protected Sub test_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles test.Click
' Build Message
Dim mail As New MailMessage
mail.To.Add("user@gmail.com")
mail.From = New MailAddress("from@domain.com")
mail.Sender = New MailAddress("sender@domain.com")
mail.Subject = "Test Subject"
mail.Body = "Test Body"
' Drop in Pickup Directory
Dim smtpPK As New SmtpClient
smtpPK.DeliveryMethod = SmtpDeliveryMethod.SpecifiedPickupDirectory
smtpPK.PickupDirectoryLocation = "C: emp"
smtpPK.Send(mail)
' Send Message Directly
Dim smtp As New SmtpClient("mail.domain.com")
smtp.Send(mail)
End Sub
End Class
View 2 Replies
May 7, 2015
I have list of Lat-Long values in my DB and i am showing them in gridview. Now i have to also show Address of that Lat-Long in gridview.
I am taking reference of this tutorial.
How to get Address from Lat-Long in GridView_RowDataBound event.
View 1 Replies
Nov 1, 2010
We have a cms-system based on asp.net 2.0 and generate urls like: ~ui/article/show.aspx?id=123Now - we would like to convert this cms to asp.net 4.0 and mvc with ceo friendly urls. Do you know any godd tutorials for this?
View 1 Replies
Oct 19, 2010
We are designing a system that has functionality that is essentially the same at the presentation layer and the exposed API layer. My question is what technique / strategy to use so we can get the most reuse out of our code with performance in mind? Here's a simplified example: A user can add a Customer via a web form. This will fire the Customer.Create() method. An API consumer / user can add a Customer via a SOAP / HTTP-POST to a web service which will call the Customer.Create() method.
Imagine these layers:
PRESENTATION
|
|
WEB SERVICE API (Customer.Create() is available here
|
|
FACADE Business Object Interface - Customer.Create() signature is here
|
|
BUSINESS Business object - Customer.Create method() is fleshed out here
|
|
DATA ACCESS - Writes data
The presentation layer SOAP calls the Create() web method, which calls the facade's Create() method which calls the business object's Create() method which wires via the data access layer.
Questions:
Is there a concern about performance in using the API's web services in our presentation layer, or are there alternatives to connect the presentation layer directly to the facade? If so, what technology to use (WCF, Remoting, Web Services, etc)?
View 2 Replies
Sep 22, 2010
i want to design a authentication system for a service oriented application.i have a wcf service based asp.net application.
View 1 Replies
Jun 7, 2010
i want to create automated web based book publication system.My company is publishing reports which is written in words. & there is lots of hassel on formatting word document.So we want to develop system where different users can loged into system then create different chapters & different parts within that chapters.Can anyone suggest any opensource project or any guidelines to achieve the things mentioned above
View 1 Replies