Online Voting System 1. INTRODUCTION The proposed system consists of two modules, Administrator Module User Module USER (VOTER) MODULE User interface consists of a login name and unique password using which he/she can login into the Online Voting System. This will be supplied by the administrator to the user. Once the user has logged in, he has the privilege to view the names of the candidates listed by the administrator, view the results after the termination date of the election. The user module constitutes only one sub module: Authentication & Voting • Each voter is provided with unique username and password manually by the administrator. The voter uses the username and password for login and exercise the fundamental right of voting. if incorrect username and password entered, the access to is denied to the user. And also voter is allowed to vote only once. This is 1
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Online Voting System
1. INTRODUCTION
The proposed system consists of two modules,
Administrator Module
User Module
USER (VOTER) MODULE
User interface consists of a login name and unique password using which he/she
can login into the Online Voting System. This will be supplied by the administrator to the
user. Once the user has logged in, he has the privilege to view the names of the
candidates listed by the administrator, view the results after the termination date of the
election. The user module constitutes only one sub module:
Authentication & Voting• Each voter is provided with unique username and password manually by the
administrator. The voter uses the username and password for login and exercise
the fundamental right of voting. if incorrect username and password entered, the
access to is denied to the user. And also voter is allowed to vote only once. This
is the security feature provided against external access of the system.
• After login the voter enters the voter home page ,which provides the links :
Candidate List This facilitates the voter to view the candidate names, the constituency name,
their symbol and their party name.
VoteThis provides the voter with a list of candidate with in his/her constituency
along with selection option (radio button) to select the preferred candidate from the list. If
the voting date is before termination date, the vote goes valid else goes invalid.
1
Online Voting System
View Results
This provides graphical and user friendly representation of the votes
obtained by each candidate. It includes the percentage of the votes obtained by each
candidate. But the result can be viewed only after the termination date of the election.
Logout This provides an option for the voter to quit the session ,while in the voter
home page.
ADMINISTRATOR MOD Administrator interface consists of a login name and unique password using
which admin can login into the Online Voting System. Administrator has the main
control of the system. By logging into the page it can perform the following tasks.
Add Candidate
Here the admin can add the list of candidates in the election. It includes
candidates name, address.gender,party, party symbol etc. The candidates will be added to
the list only after completing the procedures.
Add Voter
Here the voters can be added to the database. The voters have also the privilege to
check the voters list from the homepage. The voters details includes name, address,
gender, age, constituency, image etc.
Add Election
Here the election to be conducted is selected. To add an election the constituency
should be selected and termination date of election should be specified.
2
Online Voting System
Add Constituency
The constituency that is going to conduct election should be selected.
Voters List
Here we can view the voters list. Each constituency will be having separate voters list.
Candidate List
The list of candidates participating in the election can be seen. It includes the
candidates name, party name and party symbol.
The sub-modules of administrator are:
Voting Structure, Voters Registration
Candidate Registration
Counting & Categorization of Results
Voting StructureHere the eligible voters who are permitted to login to the system can utilize the
right to vote. Each voter can register a single vote to a candidate’s favour in his/her
constituency. The security measures taken within the system prevents them from
exercising their votes again i.e. the second vote by the same user goes invalid. The
starting and ending dates of the election are specified by the administrator. The user must
have an identity card and he must be in voters list.
Voters Registration
The registration procedure of all the eligible voters .This registration process is
done by the administrator. According to voters database each voter is provided with a
unique identification codes which includes username and password.
3
Online Voting System
The details of the voters include username, password, name, address, gender,
constituency, image etc.With the voter registration, thus producing the voter list with the
given information of the voters. The voter list can be viewed by anyone accessing the
webpage. The admin can view the voter list with in his homepage.
Candidate Registration
The registration of the candidates in each constituency is done by the
administrator. The details of the candidate includes name, address, gender ,his/her
constituency, party and image. With the candidate registration, thus producing the
candidate list with the given information of the candidates. The candidate list can be
viewed by admin and the vote within their respective homepages. According to
candidates database (manual) each details of the candidates are stored in database
controlled by the admin including candidates details.
Counting & Categorization of Results
When the voter votes, the number of votes obtained by the selected candidate is
incremented by 1.The result is published only after the voting process is over. It is
accessible from the next day after the termination date. Here we depict the result in the
graphical representation according to the percentage of vote obtained by the candidate.
Result can be viewed by everyone who visits into the site without any authentication
problem. A link to view the result is kept in the index page and both admin and voter can
view the result in their respective homepages. When the user clicks the “RESULT” link,
before the termination date of theelection, “Result not Published yet” Message will be
displayed. The result comes with their party symbol on the top of the graph representing
the percentage of vote obtained by each candidate.
4
Online Voting System
2. SYSTEM ANALYSIS
2.1 EXISTING SYSTEM
The Existing System is a manual Polling system. This would take time for
large amount of candidate to poll. So it would be updated as an image matching
system. The image comparison system matches the two images if two images are
same then the employee got marked as present. Some time the image matching not
exactly matched. Sometimes the pixels would be different. It compares the whole
image.
2.2 PROPOSED SYSTEM
Project is related to Online Voting System. The project maintains two levels of users:-
Administrator Level Voter Level
Main facilities available in this project are:-
Maintaining voter’s Identification.
Providing online voting management.
Providing updation of voter’s information.
Provide voter information to ELECTION COMMISION OF INDIA.
ELECTION COMMISION OF INDIA maintains the complete information of voter.
5
Online Voting System
Voter can give his\her vote from any part of India.
3. SYSTEM SPECIFICATION
3.1 HARDWARE SPECIFICATION
The machine used to develop this system has the following hardware
Specification need
Processor : Pentium –IV
CPU Clock Speed : 3.1 GHz
Board Memory : 640 KB
Hard Disc Capacity : 10 GB
DVD Writer : 52 X
Display Type : VGA
Monitor : 15” Digital
Pointing Device : Mouse
Key Board : 104 keys
3.2 SOFTWARE SPECIFICATION
Operating system : Windows’2000 or XP
Language : ASP.NET
6
Online Voting System
Back End : SQL SERVER
3.3 FEATURE OF THE SOFTWARE
Introduction to .net framework
NET (dot-net) is the name Microsoft gives to its general vision of the future of
computing, the view being of a world in which many applications run in a distributed
manner across the Internet. We can identify a number of different motivations driving
this vision.
Firstly, distributed computing is rather like object oriented programming, in that it
encourages specialized code to be collected in one place, rather than copied redundantly
in lots of places. There are thus potential efficiency gains to be made in moving to the
distributed model.
Secondly, by collecting specialized code in one place and opening up a generally
accessible interface to it, different types of machines (phones, handhelds, desktops, etc.)
can all be supported with the same code. Hence Microsoft's 'run-anywhere' aspiration.
Thirdly, by controlling real-time access to some of the distributed nodes
(especially those concerning authentication), companies like Microsoft can control more
easily the running of its applications. It moves applications further into the area of
'services provided' rather than 'objects owned'.
7
Online Voting System
Interestingly, in taking on the .NET vision, Microsoft seems to have given up
some of its proprietary tendencies (whereby all the technology it touched was warped
towards its Windows operating system). Because it sees its future as providing software
services in distributed applications, the .NET framework has been written so that
applications on other platforms will be able to access these services. For example, .NET
has been built upon open standard technologies like XML and SOAP.
At the development end of the .NET vision is the .NET Framework. This contains
the Common Language Runtime, the .NET Framework Classes, and higher-level features
like ASP.NET (the next generation of Active Server Pages technologies) and WinForms
(for developing desktop applications).
The Common Language Runtime (CLR) manages the execution of code compiled
for the .NET platform. The CLR has two interesting features. Firstly, its specification has
been opened up so that it can be ported to non-Windows platforms. Secondly, any
number of different languages can be used to manipulate the .NET framework classes,
and the CLR will support them. This has led one commentator to claim that under .NET
the language one uses is a 'lifestyle choice'.
Not all of the supported languages fit entirely neatly into the .NET framework,
however (in some cases the fit has been somewhat Procrustean). But the one language
that is guaranteed to fit in perfectly is C#. This new language, a successor to C++, has
been released in conjunction with the .NET framework, and is likely to be the language
of choice for many developers working on .NET applications.
8
Online Voting System
FRONT END OF SOFTWARE:
ASP.NET
ASP.NET is a programming framework built on the common language runtime that
can be used on a server to build powerful Web applications. ASP.NET offers several
important advantages over previous Web development models:
Enhanced Performance. ASP.NET is compiled common language runtime code
running on the server. Unlike its interpreted predecessors, ASP.NET can take
advantage of early binding, just-in-time compilation, native optimization, and
caching services right out of the box. This amounts to dramatically better
performance before you ever write a line of code.
World-Class Tool Support. The ASP.NET framework is complemented by a
rich toolbox and designer in the Visual Studio integrated development
environment. WYSIWYG editing, drag-and-drop server controls, and automatic
deployment are just a few of the features this powerful tool provides.
Power and Flexibility. Because ASP.NET is based on the common language
runtime, the power and flexibility of that entire platform is available to Web
application developers. The .NET Framework class library, Messaging, and
Data Access solutions are all seamlessly accessible from the Web. ASP.NET is
also language-independent, so you can choose the language that best applies to
your application or partition your application across many languages. Further,
common language runtime interoperability guarantees that your existing
9
Online Voting System
investment in COM-based development is preserved when migrating to
ASP.NET.
Simplicity. ASP.NET makes it easy to perform common tasks, from simple
form submission and client authentication to deployment and site configuration.
For example, the ASP.NET page framework allows you to build user interfaces
that cleanly separate application logic from presentation code and to handle
events in a simple, Visual Basic - like forms processing model. Additionally,
the common language runtime simplifies development, with managed code
services such as automatic reference counting and garbage collection.
Manageability. ASP.NET employs a text-based, hierarchical configuration
system, which simplifies applying settings to your server environment and Web
applications. Because configuration information is stored as plain text, new
settings may be applied without the aid of local administration tools. This "zero
local administration" philosophy extends to deploying ASP.NET Framework
applications as well. An ASP.NET Framework application is deployed to a
server simply by copying the necessary files to the server. No server restart is
required, even to deploy or replace running compiled code.
Scalability and Availability. ASP.NET has been designed with scalability in
mind, with features specifically tailored to improve performance in clustered
and multiprocessor environments. Further, processes are closely monitored and
managed by the ASP.NET runtime, so that if one misbehaves (leaks,
deadlocks), a new process can be created in its place, which helps keep your
application constantly available to handle requests.
10
Online Voting System
Customizability and Extensibility. ASP.NET delivers a well-factored
architecture that allows developers to "plug-in" their code at the appropriate
level. In fact, it is possible to extend or replace any subcomponent of the
ASP.NET runtime with your own custom-written component. Implementing
custom authentication or state services has never been easier.
Security. With built in Windows authentication and per-application
configuration, you can be assured that your applications are secure.
ASP .NET has better language support, a large set of new controls and XML
based components, and better user authentication.
ASP .NET provides increased performance by running compiled code.
ASP .NET code is not fully backward compatible with ASP.
New in ASP .NET
Better language support
Programmable controls
Event-driven programming
XML-based components
User authentication, with accounts and roles
Higher scalability
Increased performance - Compiled code
Easier configuration and deployment
Not fully ASP compatible
Language Support
ASP .NET uses the new ADO .NET.
11
Online Voting System
ASP .NET supports full Visual Basic, not VBScript.
ASP .NET supports C# (C sharp) and C++.
ASP .NET supports JScript as before.
ASP .NET Controls
ASP .NET contains a large set of HTML controls. Almost all HTML elements on
a page can be defined as ASP .NET control objects that can be controlled by
scripts.
ASP .NET also contains a new set of object oriented input controls, like
programmable list boxes and validation controls.
A new data grid control supports sorting, data paging, and everything you expect
from a dataset control.
Event Aware Controls
All ASP .NET objects on a Web page can expose events that can be processed by
ASP .NET code.
Load, Click and Change events handled by code makes coding much simpler and
much better organized.
ASP .NET Components
ASP .NET components are heavily based on XML. Like the new AD Rotator, that
uses XML to store advertisement information and configuration.
User Authentication
12
Online Voting System
ASP .NET supports forms-based user authentication, including cookie
management and automatic redirecting of unauthorized logins.
(You can still do your custom login page and custom user checking).
User Accounts and Roles
ASP.NET allows for user accounts and roles, to give each user (with a given role)
access to different server code and executables.
High Scalability
Much has been done with ASP .NET to provide greater scalability. Server to
server communication has been greatly enhanced, making it possible to scale an
application over several servers. One example of this is the ability to run XML parsers,
XSL transformations and even resource hungry session objects on other servers.
Compiled Code
The first request for an ASP .NET page on the server will compile the ASP .NET
code and keep a cached copy in memory. The result of this is greatly increased
performance.
Easy Configuration
Configuration of ASP .NET is done with plain text files.
13
Online Voting System
Configuration files can be uploaded or changed while the application is running.
No need to restart the server. No more metabase or registry puzzle.
Easy Deployment
No more server restart to deploy or replace compiled code. ASP .NET simply
redirects all new requests to the new code.
Compatibility
ASP .NET is not fully compatible with earlier versions of ASP, so most of the old
ASP code will need some changes to run under ASP .NET.
To overcome this problem, ASP .NET uses a new file extension ".aspx". This will
make ASP .NET applications able to run side by side with standard ASP applications on
the same server.
HTML Server Controls
HTML elements in ASP.NET files are, by default, treated as text. To make these
elements programmable, add a runat="server" attribute to the HTML element. This
attribute indicates that the element should be treated as a server control.
Note: All HTML server controls must be within a <form> tag with the runat="server"
attribute!
Note: ASP.NET requires that all HTML elements must be properly closed
and properly nested.
14
Online Voting System
HTML Server Control Description
HtmlAnchor Controls an <a> HTML element
HtmlButton Controls a <button> HTML element
HtmlForm Controls a <form> HTML element
HtmlGeneric Controls other HTML element not specified by a specific
HTML server control, like <body>, <div>, <span>, etc.
HtmlImage Controls an <image> HTML element
HtmlInputButton Controls <input type="button">, <input type="submit">, and
<input type="reset"> HTML elements
HtmlInputCheckBox Controls an <input type="checkbox"> HTML element
HtmlInputFile Controls an <input type="file"> HTML element
HtmlInputHidden Controls an <input type="hidden"> HTML element
HtmlInputImage Controls an <input type="image"> HTML element
HtmlInputRadioButton Controls an <input type="radio"> HTML element
HtmlInputText Controls <input type="text"> and <input type="password">