Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A simple ColdFusion facade to abstract a shared scope.
ColdFusion Shell
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
tests
.gitignore
.travis.yml
LICENSE
README.md
ScopeFacade.cfc
build.xml

README.md

Build Status

Scope Facade

Sean Coyne, Copyright 2014 and Beyond. All Rights Reserved.

Apache 2.0 License

A simple ColdFusion facade to abstract a shared scope (session, application, server, request). Useful in applications where you do not want to directly access the shared scope from services.

Usage

Call init() or new ScopeFacade() with the name of the scope you want to abstract. You can also use subkeys of a scope, provided they are structs.

<cfscript>
scopeFacade = new ScopeFacade("session");  // this would abstract the entire session scope
scopeFacade = new ScopeFacade("session.userinfo"); // this would abstract only the "userinfo" key of the session scope;
</cfscript>
Something went wrong with that request. Please try again.