Skip to main content
Inspiring
June 12, 2007
Question

Passing multiple variables

  • June 12, 2007
  • 1 reply
  • 218 views
When I pass a variable to the next page, it looks something like this
http://www.ginsbergsci*remove*entific.com/0cat_results_elec01.asp?cid=98

I'm pulling in the "cid" which is good for the url. It pulls in the
right item but it's not very descriptive.

The problem I am having is that I need to pull a page description from
the previous page in order to create a breadcrumb on the details page.

Given this information, what would be the best way to get what I want?
Should I try setting a session variable on the previous page and then
pull it in? Or, should I somehow pass a couple variables along as a string?

Ideas welcome. Thanks
This topic has been closed for replies.

1 reply

Günter_Schenk
Inspiring
June 12, 2007
I´m not an ASP guy, but on PHP I´d add a query like "SELECT * FROM whatever_table WHERE cid" equals the URL parameter "cid" respectively the passed value -- this should give you the possibilty to pull & display all related info without having to add them as variables