What if you put the application.applicationName var into the session structure before inserting it into the application structure? Wouldn't that let you know the current app the user is working with?
Robert
:-----Original Message-----
:From: Joshua Meekhof [mailto:[EMAIL PROTECTED]]
:Sent: Tuesday, April 24, 2001 2:38 PM
:To: [EMAIL PROTECTED]
:Subject: Re: session implementation
:
:
:Robert,
:
:Thanks for your reply. I am still rolling the actual
:use of this around
:in my head, but here are the beginnings of an idea.
:
:When I have a user login to my application I insert a
:structure into an
:application structure. i.e.
:StructInsert(application['currentUsers'],
:sessionKey, stFoo). The Structure contains the users
:id and and the
:time of their login. When the user logs out, I remove
:the key from the
:structure. Simply put I am trying to implement a
:"live" look at the
:users of my system. I am trying to find an
:"automatic" way of peaking
:at the relationship between a users session and the
:application that
:they are using.
:
:> Robert Hinojosa wrote:
:>
:> Give us an example of what it is you're trying to
:do? It seems to me
:> that application variables should rarely have to
:changed dependant on
:> a specific session variable. Then again, I have no
:clue what you are
:> trying to accomplish.
:>
:> Robert
:>
:> :-----Original Message-----
:> :From: Joshua Meekhof [mailto:[EMAIL PROTECTED]]
:> :Sent: Tuesday, April 24, 2001 2:16 PM
:> :To: [EMAIL PROTECTED]
:> :Subject: session implementation
:> :
:> :
:> :I would like to figure out the deep dark
:> :implementation details of cold
:> :fusion sessions.
:> :
:> :Is there any way I can "back into" it? e.g. Can you
:> :reference a session
:> :variable as a hidden application variable?
:> :
:> :I am trying to do something to an Application
:> :variable, based upon the
:> :expiration of a session variable. If I
:knew the inner
:> :workings of
:> :session variables, I might be able to do this.
:> :
:> :
:> :Josh Meekhof
:> :
:>
::-------------------------------------------------------
:> :------------------
:> :This email server is running an evaluation
:copy of the
:> :MailShield anti-
:> :spam software. Please contact your email
:administrator
:> :if you have any
:> :questions about this message. MailShield
:product info:
:> :www.mailshield.com
:> :
:> :-----------------------------------------------
:> :To post, send email to [EMAIL PROTECTED]
:> :To subscribe / unsubscribe: http://www.dfwcfug.org
:> :
:
:-------------------------------------------------------
:------------------
:This email server is running an evaluation copy of the
:MailShield anti-
:spam software. Please contact your email administrator
:if you have any
:questions about this message. MailShield product info:
www.mailshield.com
-----------------------------------------------
To post, send email to [EMAIL PROTECTED]
To subscribe / unsubscribe: http://www.dfwcfug.org
