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
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.
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
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)