Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought


Over 10 years of community discussion and knowledge are maintained here as a read-only archive.

New discussions should be taken up in issues on the appropriate projects at https://github.com/PureMVC

Pages: [1]
Print
Author Topic: Emulate a Session?  (Read 9025 times)
mycroft
Newbie
*
Posts: 7


View Profile Email
« on: November 19, 2007, 02:00:00 »

Hi,

Where is the best place to keep 'session' based variables with PureMVC? Some examples would be a User model. Is ApplicationFacade a good place?

Thanks.
Logged
puremvc
Global Moderator
Hero Member
*****
Posts: 2871



View Profile WWW Email
« Reply #1 on: November 19, 2007, 02:31:25 »

That would best be kept in a Proxy, registered with the Model and available readily to any actor in the system using the retrieveProxy of the ApplicationFacade.

-=Cliff>
Logged
mycroft
Newbie
*
Posts: 7


View Profile Email
« Reply #2 on: November 19, 2007, 02:51:14 »

Wow you are quick! :) Thanks Cliff!
Logged
Pages: [1]
Print