Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8326443
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T00:45:47+00:00 2026-06-09T00:45:47+00:00

I have a system running Coldfusion8/MySQL 5.0.88 . On some pages I need to

  • 0

I have a system running Coldfusion8/MySQL 5.0.88.

On some pages I need to pre-query parameters based on (logged in) users. For example, the site has a product search, which only allows to search products from sellers that authorized the user (allow-list).

Right now, when the user goes to the products page, I’m building the allow-list to display sellers. When the user triggers a product search, I invoke a search.cfc, which again builds the allow-list to perform the search. On another page, the user can lock/unlock sellers, so the list may change regularly.

Question:
Should I store the allow-list to the Session to have it available everywhere and not have to requery the database all the time? The list can be quite long (13-digit ID, comma separated). WOuld I need a Session.rebuild = true/false parameter to indicate, when to rebuild and not take the current Session value (after updating). Also will query caching make any sense if the query is identical, but on separate pages?

Thanks for some thoughts.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T00:45:48+00:00Added an answer on June 9, 2026 at 12:45 am

    As long as the values stored in the session are not the security that protects them, that’s fine.

    Query caching is based on the query being sent to the server, if it is identical it should not even touch the db, but get it from memory, effectively doing what your suggesting.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a small system ( Coldfusion8, MySQL 5.0.88 ), which allows users to
I have an embedded system running a busybox distribution and for some reason i
We have a system that has some Bash scripts running besides Java code. Since
I have a large .NET based system running within the company intranet, which allows
I need to decrypt some data that has been 3des encoded on system running
I have an embedded system running Linux where I need to write to a
On a ARM based system running Linux, I have a device that's memory mapped
I have a production database server running on MYSQL 5.1, now we need to
I have a system service running on my Windows machine that can impersonate the
Is it possible to have 32 bit operating system running on 64 bit processor

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.