![]() ![]() |
Home |
How it works |
Projects archive |
Contact Us Air Compressor Bot |
|
| The Career Path of Freelance Programming Jobs |
Perl Cookie Script |
![]() |
Bidding Time: |
19/01/2005 23:26 - 22/01/2005 23:26 |
Budget: |
N/A |
Status: |
Closed |
|
|
|
Job Type: |
|
Description: |
I have a login page. 1 dropdown menu 1 username input 1 password input I want to add a '[x] save my info' checkbox If checked a cookie is generated upon submit. Next time user goes to login page... Cookie is checked and drop-down preference is selected and username is completed. Password is left blank. Notes: One the cookie is set I will check it as the user moves around in my program. So, technically I need 2 expiration date/times. The actual exp date of the cookie will be set for 30 days. Then a second, pseudo expiration date will be in the form of data=value. I will code my script to check the value of the pseudo exp date to handle session support. I would like this time in localtime format. session=2323231901053180 Requirements: Code is written in PERL Code is small as possible. (I will plugin to my script) No cookie library, script or module ie. No Cookie.lib, No http-cookie.pm No CGI.pm Cookie must have expiration date/time that I can set in a variable i.e. 10 minutes or 10 days or some time in future. 1 real and 1 set as variable data in cookie Must use Perl crypt function to encrypt username and password (the salt can be a variable) Code must allow for future additional fields & values. This script can be easily written natively in PERL without any additional helper modules. I am short on time and that is why I am posting this Please price accordingly. Notes: I will run a query on database first to see if username in cookie matches username in database. Hash for db query will be $info->{}. My $salt="*xwq!Emll?0": My $temp_username=crypt($info->{username},$salt) If ($temp_username eq $cookie->{username}) { } If I have not explained fully please ask questions Related Projects: This project is the proprietary information of .
Click here to remove this project from OUR database.
|
Operating System: |
Linux |
Database System: |
MySQL |
| <<< back |
|
| Home | Projects archive | RSS | Resources | Links | Contact Us | © 2004-2008 ProjectsList.biz /0.588 |