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

**URL:** https://boards.straightdope.com/t/asp-help-needed-redirecting-to-another-page-with-data-hidden/444936
**Category:** Factual Questions
**Created:** [April 11, 2008, 7:54pm UTC](https://boards.straightdope.com/t/asp-help-needed-redirecting-to-another-page-with-data-hidden/444936 "2008-04-11T19:54:54Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Lobsang](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/lobsang/32/4067_2.png) [@Lobsang](https://boards.straightdope.com/u/Lobsang)
#### Post date: [April 11, 2008, 7:54pm UTC](https://boards.straightdope.com/t/asp-help-needed-redirecting-to-another-page-with-data-hidden/444936/1 "2008-04-11T19:54:54Z")

</div>

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!

---

<div class="post-metadata">

### Author: ![ZipperJJ](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/zipperjj/32/211_2.png) [@ZipperJJ](https://boards.straightdope.com/u/ZipperJJ)
#### Post date: [April 11, 2008, 8:23pm UTC](https://boards.straightdope.com/t/asp-help-needed-redirecting-to-another-page-with-data-hidden/444936/2 "2008-04-11T20:23:10Z")

</div>

Set them into session variables on validate.asp…

```auto

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

```

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

```auto

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

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

```
