troubleshooting Question

What is the minimal cost of a Coldfusion session?

Avatar of paddycobbett
paddycobbett asked on
ColdFusion Language
5 Comments1 Solution375 ViewsLast Modified:
I currently have our websystem split into a sales part and an admin part.


Currently I use a distinct Application.cfc in admin as shown above, since it is only within /admin that users require a session. However, by putting the Application.cfc in admin I loose access to all of my APPLICATION scope variables and utility objects, which I need access to from sales. The ideal solution would be to put Application.cfc in the wwwroot, however I was concerned about sessions being automatically created unnecessarily for users browsing the sales area. However does my concern have any weight, i.e is the memory consumed per session (bearing in mind users within sales do not add to that session data) so minimal that I should not consider it a concern? ..

.. Otherwise what do you suggest? I know there is a SERVER scope I could attach variables to, but doesn't feel right since it would be affecting ALL applications on the server.. although mine is the only one running it doesn't feel like the correct solution. Thanks
Join our community to see this answer!
Unlock 1 Answer and 5 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros