Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

Passing multiple variables

LEGEND ,
Jun 12, 2007 Jun 12, 2007

Copy link to clipboard

Copied

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
TOPICS
Server side applications

Views

185
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Jun 12, 2007 Jun 12, 2007

Copy link to clipboard

Copied

LATEST
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

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines