I’m using a compiled .dll provided by someone else — I know little about it, other than it has a session variable that I must access in a way that is strange to me. Not sure what to call it — have googled for words that I thought might be right, but so far no success. Here is what it looks like:
Session(“receipt”).username
It’s the .username part that I don’t understand. What is it? How is it created?
Thanks for any help.
Session is probably a global object which has a default property which returns a SessionItem object. The SessionItem object is loaded from the browser-session (probably) by the Session object. The SessionItem object has a property username, which is a value stored somewhere in the browser-session.
Some code to clear things up:
And you calling the code (Which searches for the “receipt” item in the SessionItemCollection Items from Session):