I thought that I would try to explain things a bit better.

I would like to know if it is possible to save a value from a php form in a session using a java function.

What I am doing:

I have a php form. The form contains a textbox and 2 list menus (drop down box) The second drop down box relies on the selection made in the first.

within the reload() java function I save the value entered in the first list menu (using the onChange="reload(this.form)" ) I pass the variables in the url. The users selection loads values into the second list menu. Where the user can make a second selection. This value is passed using the same method.

What I would like to do is save the textbox (or all the entered values) values in a session using a java function. When the user changes the a value or enters one.

Thanks

I have posted this in the java section also, as it may be more of a java question.

    Its not java! Its javascript (two completely different things). And yes, the client side forum is where it belongs.

      OK, does anyone know how to save variables into a $_session using javascript?

      Thanks again everyone.

        rinventive wrote:

        OK, does anyone know how to save variables into a $_session using javascript?

        Thanks again everyone.

        Well, javascript runs on the client and php on the server, so the two dont get allong very well. You would need to send your values to the server and have php save them in a session.

        Why dont you post the code you have? Maybe we will get a better understanding of what it is you are trying to do.

          Write a Reply...