Solved

hey how can i pass the calues for search page

Posted on 2008-10-10
4
224 Views
Last Modified: 2013-12-08
hi,
i have 6 to 7 values that must pass from one page to query page to find out the exact search but how to do that please suggest
0
Comment
Question by:devilsuraj
4 Comments
 
LVL 142

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 125 total points
ID: 22686014
you have several options:
* session data
* url parameters
* post data
* database contents

the easiest is the url, but it shows the user how to call the page, actually.
post data is similar to the url, also very easy, but can also be "spoofed"
the most secure is session data, and you save the parameter in the session, and then call (redirect) to the search page, which then uses the session data
saving the parameters in a database table, along with the session id, and then in the search page query for the search parameters first, or letting the query use the parameter values stored, is the "heaviest", but has some other advantages...
0
 
LVL 10

Assisted Solution

by:slamhound
slamhound earned 125 total points
ID: 22700324
Angel is right....I would use session variables.

On one page you would put something like:
session("MyFirstValue") = 12345

And then on every other page you can reference the session variable like any regular variable.
Str = "Select * from tblTable where Field = " & Session("MyFirstValue")
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
I've been asked to discuss some of the UX activities that I'm using with my team. Here I will share some details about how we approach UX projects.
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
This video teaches users how to migrate an existing Wordpress website to a new domain.

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now