60140 PHP Sessions Script

Completed Posted Dec 22, 2004 Paid on delivery
Completed Paid on delivery

Please read through, there's quite lot of text but actually the project is quite simple. Im looking for a PHP script(s) that I can place on a web pages that include protected content. The script should check if the user have already a valid session access (time limit expired or not) or if not. If not the scipt launches a pop-up where the user is asked to call a number from where he gets a PIN, on a pop-up is a enter box for the PIN where user can key in it and press "submit". Now the script check the validity of the pin code through GET request. That side is already done where this validation can be done and where PIN codes are created. The script needs just to check out if the PIN is valid or not. If the pin-code is OK the script sets up a session for the user which allows the user access to the protected page(s) as long as the session is valid i.e. time limit is not expired. The purpose is to use this script set on many web pasges / domains, so it should be able to handle it. Sessions can be stored to cookies / MySQL database with allowed time. There should be a way to allow only one time access on some pages and on another pages to allow 60 minutes access and on some sections allow for example 24h access. MORE Script creates user based sessions. The goal is differentiate between the different visitors of the website and check if they can aceess or not. If you want to grant an end-user access for a certain amount of time, or in a specific section, the session management system should be expanded to be able to flag if, when (and possible in what section) a payment has taken place. It should be possible to allow visitor to 1 page for 1 time, or give him, a 24 hour period to browse around in the premium section by remembering when the end-user has payed, and checking that time against the current time when a premium resource is accessed. If the current time exceeds this (current_time > the moment_of_payment + allowed_time), then the end-user can be served the payment popup again. For the pay-per-view payments you can supply the end-user with the requested content immediately after you have received an "OK" from our server. EXTRA INFO When the end-user visits your site (a) and wants to access the protected content, and the end-user hasn't payed yet, a payment popup is shown. In this popup the telephone number is displayed which, when called, will give the end-user a PIN-code. Also, a box should be present in which the end-user can then type in this PIN-code. If the end-user then presses the submit button on the popup, your website will check this PIN-code through a special request to our Authentication Server (b). When validated, the website then can give the end-user the content he/she asked for, or display an error message that the PIN-code is wrong. Important to note is that the aforementioned validation request is done by your website, so the real location of the validation server will never be revealed to the end-user. When our server receives a validation request, it will attempt to look the PIN-code up, and when found, will respond with a plain-text reply of 'OK'. Additionally, the PIN-code is immediately expired and cannot be used. If the PIN-code cannot be found, the server will respond with a plain-text reply of 'FAIL'. I have set-up a test-location on the following location. Note that this location is in Debug-Mode which means it will disallow all PIN-codes except the code '12345'. This will enable you to handle the different situations without having to dial premium rate lines to generate PIN-codes. Request method: GET PIN-code variable: C4XSSIGNON

Odd Jobs PHP

Project ID: #1808830

About the project

1 proposal Remote project Active Jul 11, 2012

Awarded to:

evernet

Please see PMB - it will be a pleasure to work with you.

$150 USD in 4 days
(0 Reviews)
0.0