Forum Moderators: open

Message Too Old, No Replies

Passing user defined info

from one page to another

         

Essex_boy

9:56 am on Nov 20, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I need a script that passes info like siz, shape and colour fro page to another then collates the information on to an order page, for emailing.

Javascript can handle this cant it?

It shouldnt be too hard to implement either should it.

le_gber

4:19 pm on Nov 21, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



hi Essex_boy,

the best way to achieve this is to use server side programming like PHP or ASP.

I am not sure how to do it with JS (not even sure it's possble)

whoisgregg

4:15 pm on Nov 22, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You can use javascript to write the data to a cookie, then use javascript to read that cookie on the next page.

However, without using cookies, this could only be done with either GET (variables in the URL) or POST (variables in the header) and that means server side programming.