A further question: Is there a reason you chose to implement this using two applications? There are other approaches that might be simpler and cleaner, such as a single app that initially shows a splash screen with a login popup window.
Tracy ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: Wednesday, November 05, 2008 9:18 AM To: [email protected] Subject: RE: [flexcoders] how synchronising flex remoteobject and coldfusion That what it sounds like to me. You could pass a value into the main app via flashvars, and check for that value on app startup. If the value is present and correct, then show the app, otherwise show a blank view or a splash screen (use ViewStack) Tracy ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Howard Fore Sent: Wednesday, November 05, 2008 8:54 AM To: [email protected] Subject: Re: [flexcoders] how synchronising flex remoteobject and coldfusion So you've got two HTML pages that are showing two different SWFs? One with the login page and then one to redirect to with the real content when the login succeeds? On Wed, Nov 5, 2008 at 2:05 AM, call_me_hems <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: Hello, i have one problem in flex 3, but before that let me explain u what i'm trying to do. i have built a login form where i'm sending data to coldfusion component(*. cfc) file using Remote Object Method. If the login information is matched with database then i create a session variable and send the true boolean value to login page where it redirect to next page. In Next Page i have just showed who is login and a LOGOUT Button. i have used createCompletion method in application tag which executes a function where i have called a coldfusion function to check whether session variable is defined or not , if yes then the page is displayed and if not then the page is redirected to login page. . This piece of code is working very fine to me. Now the problem is that, Suppose the user is not logged in and i'm directly pasting the URL of second page then it displays the page for few seconds and then it is redirected to login page. i want that it should not display anything until the session varible is checked. how could i do this. Sample url is as follows: http://freelancingl eaders.com/ intakeflow/ IntakeFlow. html http://freelancingl eaders.com/ intakeflow/ IntakeFlow. html UserName: hemant Password: garg. Plz Suggest me. Tahnk You. ------------------------------------ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt <http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt> Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf- 1e62079f6847 <https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf -1e62079f6847> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo <http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo> ! Groups Links (Yahoo! ID required) mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> -- Howard Fore, [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> "The universe tends toward maximum irony. Don't push it." - Jeff Atwood

