to me also we are mixing up information in two scopes, application and the
user scope.
since the requirement is to keep track of frequently needed information
(what ever the scope they may be) calling this object
APPLICATION_INFO is seems misleading.


On Tue, Sep 3, 2013 at 2:22 PM, Ashansa Perera <asha...@wso2.com> wrote:

> Hi,
>
> I think the intention here is to store the most required attribute values
> in one common object and add it to session(there are some attributes that
> we always need when accessing application related data) and refer it when
> required.
> When trying to retrieve that object and if null we should create the
> object and add it to session, so would solve the problem of entering URL by
> hand without navigating through app home.
>
> On Tue, Sep 3, 2013 at 11:58 AM, Danushka Fernando <danush...@wso2.com>wrote:
>
>>
>> On Tue, Sep 3, 2013 at 11:34 AM, Danushka Fernando <danush...@wso2.com>wrote:
>>>
>>>> Hi
>>>> Is Logged in user related to an appfactory application? I don't think
>>>> so.
>>>>
>>> Y not, there are many places we need logged in user in the application.
>>>
>> Still this is not related to APPLICATION_INFO
>>
>>>  And for other things we could have this object in application space
>>>> rather than session space I think. WDYT?
>>>>
>>> Earlier, I thought the same thing. But if we are gonna include
>>> application owners , we need to do it in the application scope.
>>>
>>> IMO, It is like this, when application home is loaded for a particular
>>> application APPLICATION_INFO object is created and put to the session with
>>> details I mentioned in the first mail of this thread.
>>> So every time switch applications ,relevant APPLICATION_INFO object is
>>> in the session. WDYT?
>>>
>> +1 for this  idea.
>>
>> But what happens if user paste some url other than home page. How do we
>> detect that application is changed? We need to have some check before
>> loading each page then.
>>
>>>
>>>>
>>> Thanks & Regards
>> Danushka Fernando
>> Software Engineer
>> WSO2 inc. http://wso2.com/
>> Mobile : +94716332729
>>
>> _______________________________________________
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Thanks & Regards,
>
> Ashansa Perera
> Software Engineer
> WSO2, Inc
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Ramith Jayasinghe
Technical Lead
WSO2 Inc., http://wso2.com
lean.enterprise.middleware

E: ram...@wso2.com
P: +94 776715671
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to