Script for creating cookies and reading cookie contents
$30-250 USD
Completed
Posted almost 14 years ago
$30-250 USD
Paid on delivery
For a hotel reservation website I'm looking for a script that:
1) Creates a cookie as soon as a hotel page has been viewed. The unique hotel id needs to be inserted inside of this cookie.
2) As soon as a second hotel page has been viewed the unique hotel id of the second hotel needs to be added to the content of the cookie in order to create a last viewed hotels list inside of the cookie and so on.
3) A second script needs to be able to read the content out of the cookie and display the unique hotel ids, ordered from recently viewed to last viewed hotel id's.
4) Users who see the list with last viewed hotels need to be able to 'favour' a hotel. Favoured hotels need to be added to a second cookie.
5) A third script should be able to reed the content of the favourite hotels. And should be able to update the content of the favourite hotels as users should be able do delete favourite hotels.
Please note that the hotel pages script already exists. We request you to develop the cookie script only.
Yes, you can use javascript (aka "js") but you should really prefer to use PHP as some browsers don't have javascript enabled, and most people do have cookies enabled.
I'm a professional at php, and javascript and can easily complete this task so please send me a message.
I can give the work to you in 2 hours .
I shall give you two solutions. Javascript based and php based. I hope that my bid holds value for you though I am new here.
I will do the script in one day without any problems. I already have a vision in my head of how to do it. Almost all of the websites that I have done have required cookies and so far there hasn't been a problem with that.