Hi Thank You, Yes I want it in the flex application, I log in from different server because of that my session will be active in the other server where i logged in , but when I do refresh the loggin dialog box is coming up again and even if i give some wrong username and password, it is allowing me because the session is active on the other server and it is taking the username and pasword from the session and authnticationg this,because of this I want to set up a global variable to check whether i am logged in or not. thank u, jay.
--- In [email protected], "Matt Chotin" <[EMAIL PROTECTED]> wrote: > Are you talking about on the server or in the flex app? In the Flex app > you can set the variable on your main application and everyone can > access it via Application.application.yourVar. As far as the server for > RemoteObject session access check the docs for > flashgateway.Gateway.getHttpRequest() > > > > Matt > > > > ________________________________ > > From: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf Of jaya_selva > Sent: Thursday, July 21, 2005 12:27 PM > To: [email protected] > Subject: [flexcoders] Global Variable or session Attribute > > > > Hi, > I want to set a variable which can be accessed from all the components > (Session scope) and can be modified from any place. > > I want to maintain whether the user is logged in , ie when the user > logs in I want to set the flag to true , and I should be able to check > this flag from all my components in the application. > I also need to set the Roles for the user in the global session scope. > Is there any way to acces the session object and set attribute in it > from my flex code. > Thank You, > Jay. > > > > > > > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.com > > > > > ________________________________ > > YAHOO! GROUPS LINKS > > > > * Visit your group "flexcoders > <http://groups.yahoo.com/group/flexcoders> " on the web. > > * To unsubscribe from this group, send an email to: > [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > > * Your use of Yahoo! Groups is subject to the Yahoo! Terms of > Service <http://docs.yahoo.com/info/terms/> . > > > > ________________________________ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

