Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET
Sir/Madam
 

I am working in the online faculty appraisal system.
Now I want that at login the ip address of that system i find and then when a student logout the application after fill the feed back form second time login can't be done.
 

 
In short i want to make one time login at a particular system .
how can i do it
Please Help me regarding this
Posted 15-Jan-13 0:14am
ankur7891.4K
Comments
Abhishek Pant at 15-Jan-13 6:21am
   
I think blocking a ip address is not a good solution.As If i use a datacard the ip changes every time I connect so its not a good solution but you must do this with id of that student for a particular day.
AnkurGupta OM at 15-Jan-13 21:53pm
   
Sir how can i do it with student id
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

This is a bad idea - IP addresses are not unique to a specific piece of equipment, instead they are specific to a single point of connection to the internet (an ADSL router for example). If there are 4 people using the same router, they will all have the same IP address, and a ban will affect all of them, not just one. To add to your problems, the IP address is normally allocated by the ISP, and can be changed or spoofed pretty easily.
 
Instead, look at either making people log in in some way, or use cookies to prevent multiple feed back - it's not perfect, but it is pretty much the best you can do.
  Permalink  
Comments
Milind_T at 15-Jan-13 6:43am
   
100% agree.
shaikh-adil at 15-Jan-13 13:05pm
   
+5
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

100% agree with OriginalGriff.
 
Login id based solution should be perfect.
Have a "boolean" column in Login table. Once you finish with the feedback, disable the login.
This will save all the headaches.
If you do not have DB, consider a encrypted flat/XML file. That should also do the job.
 
Hope that helps
Milind
  Permalink  
Comments
prashant patil 4987 at 15-Jan-13 6:49am
   
agree +++++++5. Milind.... great answer..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 389
1 Sergey Alexandrovich Kryukov 362
2 CPallini 130
3 Abdul Samad KP 125
4 Richard MacCutchan 110
0 OriginalGriff 6,249
1 Sergey Alexandrovich Kryukov 5,680
2 CPallini 4,850
3 George Jonsson 3,454
4 Gihan Liyanage 2,522


Advertise | Privacy | Mobile
Web04 | 2.8.140916.1 | Last Updated 15 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100