Forums
This topic is locked
Will Server.Execute Work?
Posted 20 Jun 2003 05:51:27
1
has voted
20 Jun 2003 05:51:27 Phil Grimpo posted:
I have a master page which sets a variable for "Category"I have a small file that needs the value of "Category" in order to pull a recordset and display information.
This smaller file needs to be included into the master file (in this case it is a file that displays current news).
Currently in the master page I have:
Category = 1
Server.Execute(rs_Page("Sect1Include")
As you can see, the name/url of the page is being pulled from a database.
The problem with this is that the variable "Category" is not being passed to the page. Using ServerSide Includes doesn't work either because of the way the pages are rendered. Should I use Session Variables for this? Is there another method that might work?
Thanks!
-Grimps
Phil Grimpo
Executive Director
Inspirmedia