How to determine your current client storage value
Note: This blog post is from 2008. Some content may be outdated--though not necessarily. Same with links and subsequent comments from myself or others. Corrections are welcome, in the comments. And I may revise the content as necessary.This may be a surprise to some: it was to me.
APPLICATION.GetApplicationSettings()
This will give you the settings that were selected for the application:
http://www.bennadel....
I am not sure if it gives you the *same* settings that you would get from inspecting the CLIENT scope, but there is a "ClientStorage" attribute.
I'd love to find more of these available methods buried in various scopes, but it's not really easy to find, as far as I can tell (even studying the servicefactory clientscopeservice, where I don't see any getpersistsettings method or anything like it.) If anyone knows any tricks for finding (or knows of somewhere showing a list of) these methods buried in the scopes, please let us know.
@Mischa, how so? I just tested it again and I see the page. Maybe you're thrown by it showing source code. That's what it should be. Sorry I didn't clarify that above. It's a dump of a context.cfm custom tag of his. Or are you saying you get some sort of 404 error? I don't. (I do appreciate the heads up if you or anyone find a broken link in my stuff, so thanks.)
http://www.bennadel....
I haven't done it lately, but its in my testing environment so I can call on it when necessary.
And of course there are many interesting ones for the session scope, too. Will look forward to any further help David's code may offer.