Click here to Skip to main content
15,892,005 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Comments
Abhishek Pant 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.
ankur789 15-Jan-13 21:53pm    
Sir how can i do it with student id

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.
 
Share this answer
 
Comments
MT_ 15-Jan-13 6:43am    
100% agree.
shaikh-adil 15-Jan-13 13:05pm    
+5
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
 
Share this answer
 
Comments
prashant patil 4987 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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900