Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Retain values on masterpage after redirect 1

Status
Not open for further replies.

LonnieJohnson

Programmer
Joined
Apr 16, 2001
Messages
2,628
Location
US
I have a masterpage that has drop boxes that are used as parameters for reports.

I have three report pages.

When I load my app, the first thing you see is a default welcome page and the drop boxes from the master page.

A list box and a submit button tells the application which report you want. You are then redirected to a new page that has the respective report viewer on it. When this happens I loose my values in my dropdownlist on the masterpage because of the redirect.

How can I retain those values?

Thanks. This would be a huge help for me.

ProDev, MS Access Applications
Visit me at ==>
May God bless you beyond your imagination!!!
 
Add them to a Session variable. On the page load of your Master Page, check if the session variables exists and if it does, set the values.


____________________________________________________________
Mark,
[URL unfurl="true"]http://aspnetlibrary.com[/url]

Need help finding an answer? Try the Search Facility or read FAQ222-2244.
 
Not exactly what I wanted to hear but definately what I needed to hear. Thanks for the confirmation.

ProDev, MS Access Applications
Visit me at ==>
May God bless you beyond your imagination!!!
 
What did you want to hear? The only options really are:

1) Querystring
2) Post
3) Session
4) Cache
5) Application
6) Database
7) File

I'd say that the Querystring, Post or Session were the most appropiate choices.


____________________________________________________________
Mark,
[URL unfurl="true"]http://aspnetlibrary.com[/url]

Need help finding an answer? Try the Search Facility or read FAQ222-2244.
 
Post is the posted controls. e.g.:
request.Form("item" or index)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top