Forums

This topic is locked

Can I post url of dynamic page via a Form ?

Posted 25 Feb 2003 23:23:02
1
has voted
25 Feb 2003 23:23:02 Ian Smith posted:
I want to be able to send the url of a dynamic page through a form to a cgi script. The form is on the page whose url I wish to send.

The page that the Form is on has a url like this:

www.mydomain.com/show_notice.jsp?notice_id=1234

As you can see the url will vary (as it depends on the value of notice_id sent to the page) and it is this url that I wish to send, via the Form, to the cgi script.

As the url is not fixed I can't assign its value to the field at coding time.

Can anyone suggest a way of doing this? Is Javascript window.location a way forward?

many thanks,

Ian

Reply to this topic