Lotz
August 28th, 2003, 02:53 PM
Hello,
It is my first post to that forum and I hope that someone could help me.
I visited many websites with tutorial about cookies, but I couldn't find what I'm looking for. :confused:
I have a form with the following fields: firstname, lastname, donation amount and email. When you click on the submit button, the form is sent (CGI with method=POST), a thank you page (thankyou.html) is displayed and I receive the info by email.
I would like to personalize the thank you page, like this:
Dear "firstname" "lastname",
Thanks you very much for you donation of "amount".
...
I would like that the firstname, lastname and donation amount are displayed on the thank you page, with the values submitted in the form.
The thank you page is a static HTML page (thankyou.html), that is uploaded on the server.
This page won't be created by the cgi script. It is just redirected to it.
The thank you page is created by me.
Then, I have a complete control on the page... I can put what I want on that page (images, javascript, etc.).
I think the best should be to do it with cookies, as I don't have access to the script CGI.
The cookie should be deleted when the thank you page is closed.
I tried to have it works for few weeks now, but I couldn't. :mad:
It would be very kind if someone could help me.
Thanks a lot in advance.
It is my first post to that forum and I hope that someone could help me.
I visited many websites with tutorial about cookies, but I couldn't find what I'm looking for. :confused:
I have a form with the following fields: firstname, lastname, donation amount and email. When you click on the submit button, the form is sent (CGI with method=POST), a thank you page (thankyou.html) is displayed and I receive the info by email.
I would like to personalize the thank you page, like this:
Dear "firstname" "lastname",
Thanks you very much for you donation of "amount".
...
I would like that the firstname, lastname and donation amount are displayed on the thank you page, with the values submitted in the form.
The thank you page is a static HTML page (thankyou.html), that is uploaded on the server.
This page won't be created by the cgi script. It is just redirected to it.
The thank you page is created by me.
Then, I have a complete control on the page... I can put what I want on that page (images, javascript, etc.).
I think the best should be to do it with cookies, as I don't have access to the script CGI.
The cookie should be deleted when the thank you page is closed.
I tried to have it works for few weeks now, but I couldn't. :mad:
It would be very kind if someone could help me.
Thanks a lot in advance.