I originally placed this in the VBScript forum, but decided to put it here (hope that isn't a problem). Does anyone know how I could read in a hidden value that was submitted from a previous page? Specifically, I need to validate whether or not someone has just come from a previous page "disclaimer.html". So, basically when someone clicks on the "I Agree" button they would go to viewer.html where it would read the value of a hidden field from a form on disclaimer.html. If they click on the "I disagree button I would either have the disclaimer page reload, or an error page come up (with a link back to the disclaimer page telling them that they can't view the page without agreeing to the disclaimer. If the person has not come from the disclaimer page, then an error page would open. This would force them to agree to the disclaimer before being allowed to view the page. I want to prevent someone from just being able to type in the url, without agreeing to the disclaimer. Any help would be greatly appreciated. The boss would like this figured out by the end of the week, and I'm just learning this stuff.
P.S. I cannot change the name of the viewer.html page (ie., can't change it to viewer.asp, etc.,)
Thanks!!!
P.S. I cannot change the name of the viewer.html page (ie., can't change it to viewer.asp, etc.,)
Thanks!!!