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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

session queries?

Status
Not open for further replies.

lucidtech

IS-IT--Management
Jan 17, 2005
267
US
I have two queries that I use over and over again in my site when users are logged in. Is it better practice to set these queries as a session variable so I don't have to perform the query every time the user goes to a new page, or will it bog the system down if too many people are signed on?

 
If the query results don't change much, just cache the queries.

<cfquery name="" cachedwithin="whatever">


Hope This Helps!

ECAR
ECAR Technologies

"My work is a game, a very serious game." - M.C. Escher
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top