Log in

View Full Version : collect page URL when form is sent to asp



JayW
11-03-2005, 07:27 AM
Hi all

Please would someone assist me with this.

I have a small contact form which is linked off 100+ pages on a site with 1 asp to send the mail. I need the form to collect the page url that the contact from comes from when submitted. I could create a seperate html form with a pre-defined hidden input field to send the page url or title, but this could take forever.

I need some added bit of script or a field in the form that tells the form to pass the URL or Title to the ASP where I can create a field in the sendmail script.

Thanks so much

dtroi50
11-03-2005, 10:55 PM
Try asking on the ASP board.
Is there an ASP equivalent of $_SERVER['HTTP_REFERER'] ?