ASP help needed. Redirecting to another page with data hidden.

I am trying to write an intermediate page which validates some data before sending it on to another page.
Lets say I have a page called “system.asp” which I cannot change, and a page called “login.asp”

Originally “login.asp” passed data directly to “system.asp”

But now I need to check the data before passing it onto system.asp.

I have therefore written a page called validate.asp and have login.asp to pass the data onto validate.asp.
The important bit. How can I have validate.asp pass the data onto system.asp (assuming it has been validate) without the data showing up in the url!?

(In other words, as If I’d passed it in a form with method ‘post’)

the data is account number and pin, so it’s important it doesn’t show!

Set them into session variables on validate.asp…



Session("TheAccountNumber") = Request.Form("AccountNumberField")
Session("ThePIN") = Request.Form("PINField")


Then system.asp can grab them and clear them if you need to



strAccountNumber = Session("TheAccountNumber")
strPIN = Session("ThePIN")

Session("TheAccountNumber") = null
Session("ThePIN") = null