multiplex77
Programmer
HI,
I've got some persistant data that needs to be shared across all the pages of my ASP site for each individual session. I would have used a Session variable to store this data, but I think it is way too large (content ranges from 50 to 50,000 characters).
So instead, I have used an include to query the database at the start of every page, to retrieve that data and store it in a local page variable, knowing full well that my site could take a performance hit due to the lengthy database query at the start of every page.
Q 1: How much data can a single session variable contain?
Q 2: How much can a local variable contain?
Q 3: Is there any better way to do what I need to do?
Thanks very much for the help.
I've got some persistant data that needs to be shared across all the pages of my ASP site for each individual session. I would have used a Session variable to store this data, but I think it is way too large (content ranges from 50 to 50,000 characters).
So instead, I have used an include to query the database at the start of every page, to retrieve that data and store it in a local page variable, knowing full well that my site could take a performance hit due to the lengthy database query at the start of every page.
Q 1: How much data can a single session variable contain?
Q 2: How much can a local variable contain?
Q 3: Is there any better way to do what I need to do?
Thanks very much for the help.