Flex/Flash Session ID mismatch

I have an flex applications that users must login to. They
may also upload and attach images to various DB records form time
to time. The server is running Rails. When accessing services with
http sessions for the user login the flash app receives a session
id. From this point on all functions on the server work for this
session. However when I use a flash FileReference object to upload
an image a new session id is assigned. Now of course the server
finds that it has no session user information (i.e. session[:user]
is not set). How can I make flash 'FileReference' refer to the same
session id as the flex components. Or how can I upload image or
file data, using only flex components?
Thanks

Chris:
Are you certain that method 1 returns
http://xseries8.columbus.k12.oh.us:7778/pls/k12test/f?p=100:3:*&SESSION.*:::3:P3_COMMUNITY:4:
Method 1 should work in all instances.
Varad

Similar Messages

  • Flex Error #1001: Digest mismatch with RSL error

    I apologize if this is not the correct location for this question but it was the closest I could find.
    I am working in salesforce trying to add a new content pack.  This screen uses a tool written in flash.  The screen that comes up is an error with the following:
    Flex Error #1001: Digest mismatch with RSL
    https://cs13.salesforce.com/_swf/121310/sfc/flex/framework_3.5.0.12683.swf.
    Redeploy the matching RSL or relink your application with the matching
    library.
    I have been working with SalesForce support but they don't have a clue and want to punt to Adobe. 
    The support staff at SalesForce has no trouble accessing the page with the flash control from thier pc.  I have tried several computers in my office and from several browsers (IE 9 and Chrome).  I have reinstalled Flash Player 11 and cleared browser caches.  Nothing seems to work.
    It has to be something common to computers in my office or my network.  All of the information I can find on the Internet talks about rebuilding the application and redeploying it.  I can't do that since this is part of SalesForce and not something I own.  Also, it works for them on their computers.
    I am running windows 7 64 bit.  I have McAfee running (and have checked that Flash is not blocked).
    The flash player itself works when I go to the Adobe site and try other content.
    The only other odd thing I have is that my hard drive is encrypted.
    Any ideas?
    Thanks,
    Mike

    Chris,
      I have cleared the browsser and flash cache data then restarted browswers and windows. Still no luck.  I reverted the flash player back to 10.3 after following the instructions in the link you provided for a clean install but still get the error.  SalesForce did not state what version of FlashPlayer they are using but I will check with them later today. 
    All of the machines that I have tested on have been at the office and all have encrypted hard drives with PGP desktop.  I am going to try my laptop on my home network tonight to see if we are blocking something during the download.
      This is driving me nuts.  I know is it something specific to the machines in the office or the office network but I can't find it.
    Thanks for your help.  Please let me know if you have any other ideas.
    Mike

  • Data connection between Java Webdynpro - Flex Flash Island

    Hi,
    I'm developing a Java Webdynpro with connection to a Flex Flash Island. I'm using Flex 3.2.
    I've already set up the connection from WDJ to Flex, by using Events and the FlashIsland.fireEvent method, this all works fine. Now I'm trying to update a value in WDJ, to be updated in Flex. This gives the following error:
    Error: Error #1023: Stack overflow occurred.
         at Function/http://adobe.com/AS3/2006/builtin::apply()
         at mx.binding::Watcher/wrapUpdate()
         at mx.binding::PropertyWatcher/eventHandler()
         at flash.events::EventDispatcher/dispatchEventFunction()
         at flash.events::EventDispatcher/dispatchEvent()
         at mx.core::UIComponent/dispatchEvent()
         at UWLApplication/set opentask_updated()
         at MethodInfo-4234()
         at Function/http://adobe.com/AS3/2006/builtin::call()
         at sap.core.wd.context::WDContextListener/execute()
         at sap.core.wd.context::WDContext/notifyListeners()
         at sap.core.wd.context::WDContext/_set()
         at sap.core.wd.context::WDContext/set()
         at sap.wd.island::WDIsland/storeProperty()
         at sap.wd.island::WDIsland/onUpdateProperty()
         at mx.binding.utils::ChangeWatcher/wrapHandler()
         at flash.events::EventDispatcher/dispatchEventFunction()
         at flash.events::EventDispatcher/dispatchEvent()
         at mx.core::UIComponent/dispatchEvent()
         at UWLApplication/set opentask_updated()
         at MethodInfo-4234()
    This is especially strange, cause before I had a refresh button in which I updated my entire item collection. Now, I have added this field and suddenly I get this error !
    Does anybody has any idea what this could mean? Any help would be much appreciated ...
    My field in Flex:
    \[Bindable\]
    public var opentask_updated:Number;
    <mx:Text id="opentask_updated_text" text="{opentask_updated.toString()}" />
    My adaptions in WDJ:
    public void getInbox( )  {
           wdContext.currentInboxElement().setOpentask_updated(0);
    public void wdDoInit()  {
           getInbox();

    Solved!
    It appeared to be a "long" parameter and I was trying to put it in a "Number" parameter in Flex (because there is no long in Flex)
    When I changed both to String, it worked!

  • Flash Islands Tutorial I - Confusion with Flex/Flash Builder Versions

    Hi Guys,
    i am new to the Adobe Flex/Flash Islands technology and tried to implement Tutorial I by Thomas Jung. Unfortunately i am confused by the various different versions for flex and the corresponding IDE's.
    As far as i understood SAP at the moment only supports Flex versions up to version 3.3 for NetWeaver 7 EHP1. Furtheron the Adobe Charting Components (used in the Tutorial) seem to be part of the Flex Builder Professional Version only.
    So i went to the Adobe Website and looked into the products and download areas. All i found was Flash Builder 4.5 Premium and the various Adobe and Open Source Flex SDK versions. I am using Flash Builder 4.5 as a trial right now. Unfortunately the Charting Components are not included.
    So the question i have is whether the Charting Components (e.g. <mx:BarChart /> )are included in the non Trial version of Flash Builder 4.5 Premium or whether there is any possibility to get them as an Add-On. Or do i have to use Flex Builder 3 Professional (i found no information about this on the Adobe Website)?
    Additional Hint:
    I found out that when i compile the poject with Flex SDK vesion 3.6 or higher, the compiler knows the <mx:BarChart /> tag. Also in that case the view designer is working. However FlashIslands is only supported up to Flex SDK 3.3. But when i choose 3.3 the <mx:BarChart /> tag and some other related tags are unknown.
    This is a really anoying issue.
    Best Regards,
    Dirk
    Edited by: Dirk Jäckel on Jul 19, 2011 12:14 PM

    HI Dirk,
    wtith Web Dynpro, you can only use Flex SDK version 3.3 and downwards. You can download the SDK here [http://opensource.adobe.com/wiki/display/flexsdk/DownloadFlex3]
    Flash Builder ships with Flex SDK 4.5 which is not compatible with WDA flash islands.
    As for the charts library, which Adobe referes to as the Data Visualization Component, it is also available as a separate download which can be unzipped into the same directory as the Flex SDK -- the library is available here [http://www.adobe.com/cfusion/entitlement/index.cfm?e=flex3sdk]
    I must say I am also confused, because as far I can tell data visualization component is not included in 3.3, but SAP makes no mention of this. Hopefully someone else can enlighten us on this issue?

  • Adobe Flex & Flash

    Hi,
    I have a question about Adobe Flex. I have a project about preparing a digital content (i am planning preaper it at flash and compatible with SCORM 2004). I need to know that can i connect a content prepared with Adobe Flash CS4 to Flex?
    And if yes, how can i do it. I dont know Flex much
    Thank you.
    Nilay P.

    > I am Working as Consultant-SAP.I am creating static Forms using Adobelive
    > Cycle Designer and SAP.
    >
    > How Adobe Flex is useful to create Forms?
    Yes very.
    > Is it usefull for me if i learn Adobeflex?
    Several of us are turning to Flex for eLearning and we are finding it to be
    a great tool.
    > How will be the future with ADOBE FLEX?
    I think Adobe are commiting heavily to Flex - Flex plays on any machine with
    the latest Flash player , so that includes PC, Mac and Linux. AIR plays on
    PC and Mac today, with a Linux version under development right now. In the
    future (Open Screen Project) versions of Flex and AIR should play on mobile
    devices too.
    >
    > I have seen the article SAP WebDynpro + Adobe Flex/Flash = Enterprise UI
    > 2.0.
    > Working as ABAPer shall i shift to Adobe Flex?
    I don't really know what would be good or bad for your needs. Take a look at
    some of the sample Flex and AIR apps on Adobe.com and see if you think the
    features demonstrated are applicable to your needs.
    Steve
    http://twitter.com/Stevehoward999
    Adobe Community Expert: eLearning, Mobile and Devices
    European eLearning Summit - EeLS
    Adobe-sponsored eLearning conference.
    http://www.elearningsummit.eu

  • Load Flex/Flash Builder project in Flash Professional CS5

    Is there a way that I can load (or export) Flex/Flash builder project in Flash Professional CS5?
    As it turns out we got Flash Prof for our team, but it may look like we actually need Flash builder to build lots of UI related stuff..

    Specifically, I want to use flex chart in CS5. Is there a way to do this?
    Message was edited by: bart2335658
    And flex ui

  • Qn:OpenGL or similar support in Flex/Flash?

    i am to develop an engineering simulation application that
    runs on web as well as on destop. i am exploring the possibilities
    of using Flex/Flash, & AIR. but i am not getting any
    information on support to OpenGL or similar thing by
    Flex/Flash/AIR. my application will have a graphic window to show
    lines, curves, etc in 3d view. It should also offer pan, zoom.
    rotate etc functionality.
    can Adobe give me all these functionalities?

    The Macintosh implementation of the Flash Player on MacOS X
    10.2+ since Flash Player 8 uses OpenGL hardware acceleration.
    In Flash Player 9 Upadate 3, OpenGL is used for hardware
    acceleration of the fullscreen mode on the Mac.
    On PC, the fullscreen mode uses Direct X.
    So, you can't directly access OpenGL functions but new
    releases of the Flash Player like Astro (Flash Player 10) will use
    it more and more for hardware acceleration of 2D and 3D rendering.

  • Flex EJB Session tracking

    Hello, I am fairly new to both Flex and J2EE development but
    I have developed a collection of EJBs running under an application
    server to service a multi-user Flex application. I believe I can
    connect to the EJBs through either a facade POJO, or using
    something like this:
    http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&extid=1089970
    to invoke the bean methods directly.
    My problem is how do I authenticate and track user state
    throughout their use of the application (the issue is raised here:
    http://www.forta.com/blog/index.cfm/2006/9/24/Flex-And-Session-State-Management
    but it doesn't seem to provide an answer). If passing of some kind
    randomly generated session ID is required, I am wondering what is
    the best way to approach this from the J2EE point of view?
    Thanks for any help in advance
    Lee.

    Perhaps I am overcomplicating the situation. If I were to
    specify a Stateful Session Bean as a remote destination, would a
    new instance be automatically instantiated for each user instance,
    without the need for any kind of session ID tracking?

  • SAP WebDynpro  +  Adobe Flex/Flash  =  Enterprise  UI 2.0

    Hi Frens...
    I am Working as Consultant-SAP.I am creating static Forms using Adobelive Cycle Designer and SAP.
    How Adobe Flex is useful to create Forms?
    Is it usefull for me if i learn Adobeflex?
    How will be the future with ADOBE FLEX?
    I have seen the article SAP WebDynpro + Adobe Flex/Flash = Enterprise UI 2.0.
    Working as ABAPer shall i shift to Adobe Flex?
    Please Suggest me.
    Regards
    Bhuvana

    > I am Working as Consultant-SAP.I am creating static Forms using Adobelive
    > Cycle Designer and SAP.
    >
    > How Adobe Flex is useful to create Forms?
    Yes very.
    > Is it usefull for me if i learn Adobeflex?
    Several of us are turning to Flex for eLearning and we are finding it to be
    a great tool.
    > How will be the future with ADOBE FLEX?
    I think Adobe are commiting heavily to Flex - Flex plays on any machine with
    the latest Flash player , so that includes PC, Mac and Linux. AIR plays on
    PC and Mac today, with a Linux version under development right now. In the
    future (Open Screen Project) versions of Flex and AIR should play on mobile
    devices too.
    >
    > I have seen the article SAP WebDynpro + Adobe Flex/Flash = Enterprise UI
    > 2.0.
    > Working as ABAPer shall i shift to Adobe Flex?
    I don't really know what would be good or bad for your needs. Take a look at
    some of the sample Flex and AIR apps on Adobe.com and see if you think the
    features demonstrated are applicable to your needs.
    Steve
    http://twitter.com/Stevehoward999
    Adobe Community Expert: eLearning, Mobile and Devices
    European eLearning Summit - EeLS
    Adobe-sponsored eLearning conference.
    http://www.elearningsummit.eu

  • UC 220 M3 with Flexi Flash

    I just got in 6 UC220 M3 servers with the new Flexi flash option.
    There is documentation out from cisco that states to use Flexi Fash to store your vmware boot files.
    Here are the documents that I have reviewed on the cisco web site.
    http://www.cisco.com/en/US/solutions/collateral/ns340/ns517/ns224/ns944/white_paper_c11-718938_ps10493_Products_White_Paper.html
    Then here are the server install instructions on the UC220m3 server and itsays to install vmware on the raid 5 disk array...
    http://www.cisco.com/en/US/docs/voice_ip_comm/cucm/virtual/CUCM_BK_CA526319_00_cucm-on-virtualized-servers_chapter_00.html#CUCM_RF_C38CF3EA_00
    The TAC best practices doesnt even mention the Flexi Flash/disk.
    Anyone have a recommendation?
    TIA

    I just got in 6 UC220 M3 servers with the new Flexi flash option.
    There is documentation out from cisco that states to use Flexi Fash to store your vmware boot files.
    Here are the documents that I have reviewed on the cisco web site.
    http://www.cisco.com/en/US/solutions/collateral/ns340/ns517/ns224/ns944/white_paper_c11-718938_ps10493_Products_White_Paper.html
    Then here are the server install instructions on the UC220m3 server and itsays to install vmware on the raid 5 disk array...
    http://www.cisco.com/en/US/docs/voice_ip_comm/cucm/virtual/CUCM_BK_CA526319_00_cucm-on-virtualized-servers_chapter_00.html#CUCM_RF_C38CF3EA_00
    The TAC best practices doesnt even mention the Flexi Flash/disk.
    Anyone have a recommendation?
    TIA

  • Does Flex/Flash Builder allow me to do this?

    Hi, I have a scrolling gallery element that I built in Flash and then imported to catalyst as part of my website. (I'm an artist who is self-taught in the realm of web-building and maintain my own site.)  When I add new images, I end up opening my .fxp file in catalyst and then take that flash element back in Flash and add images, and then export the whole thing as a .swf and then update that file for my site.
    Can using flex/flash builder some how stream line my process where I am instead updating data. i.e. adding new images to a database, which then gets pulled in?
    Also I have text fields that require frequent updating, it would be much easier to simply update a document that gets pulled into the final output.
    Mainly I'm confused on the purpose of flex and flash builder, and am just wondering if it is something I should know in a limited way to make things easier.
    Or is there a much easier way to do this all within catalyst without the round-trip to flash? Should this be a "datalist?"
    if you want to see what I'm working with you can visit my site:
    www.timothymcmahon.com
    the gallery component is reached by clicking on either of the two circles on the lower left after entering the main page.
    Thanks, Tim

    Don't use FlashBuilder for making a gallery. Much better to google "Actionscript xml image gallery" there are a ton of solutions out there.

  • In Flex Application Session out while export to excel while using navigateToURL _Self ?

    Hi,
    I am using Flex 3.0 and facing one problem session out while export to excel in Live server not on localhost .
    I have Used navigateToURL (url, "_self"); export to excel. While url is sevrlet call.
    In localhost(tomcat) everything is working fine while another server or live in weblogic server, my session Is Getting Lost and User is re-directed to login screen again.
    what to do to resolve this issue.
    while I tried to use _blank instead of _self then session Is getting preserved but its opening blank new window which user will not accept necessary page.
    please Suggest what to do to preserve The session while using _self ..
    waiting for quick reply.
    Regards,
    prabhat

    I'm not using Flex, but the following preserves session in Flash:
    var url = "http://" + WebServerIPAddress + "/" + ApplicationName + "?data=" + datavalue;
    var cmd:String = "window.open('" + url + "','win','height=768,width=1024,toolbar=no,scrollbars=yes');";
    var request:URLRequest = new URLRequest("javascript:" + cmd + " void(0);");
    navigateToURL(request, "_self");

  • Integrating Flex/Flash in Web Dynpro ABAP(Netweaver 7.0) need info!

    Hi all,
            I need to embed a flash or a flex object inside a web dynpro abap application.I am working in Netweaver 7.0 and i don't have enhancement pack 1 installed.Is it possible ?   If it is possible can anyone please provide me the coding and configuration details.
    Thanks,
    Saikat

    I'm afraid that the SAP supplied integration technology - call FlashIslands - is only available from NetWeaver 7.01 and forward.  You could perhaps do some simple integration (very little data transfer) with the iFrame UI element - although the iFrame is deprecated in 7.0 and 7.01, but does return to full support in 7.02.  The other option would be to use the NetWeaver Portal or NetWeaver Business Client and have two iViews within the page. One iView would have WDA and the other some external technology (BSP, JSP, etc) to host the Flash/Flex content.  Not tight integration, but you could potentially use Portal Eventing to at least communicate events.

  • Looking for a Great Flex/Flash Engineer

    Hi All,
    Apologies if this isn't an appropriate place for posting such a request, but I'm a long-time user of Adobe Flash and Flex. Despite the uncertainty surrounding the future of Flash and Flex we feel it's still the best platform for delivering rich Internet applications. We're on the hunt for a couple great engineers to join our team, and we're thinking some of you might be on the looking for positions that allow you to leverage your Flash and Flex development talents.
    Information about the UI position is included below. Please check out http://coincident.com for more information about us and to see our other posting(s).
    Thanks!
    -jmh
    President & Founder
    Coincident, Inc.
    User Interface  Engineer
    Coincident. We’d like to  make it a household name but we’re going to need your help! We’re a small clean  energy company in Boston, Massachusetts and we’re developing an  automated energy management platform for residential and small commercial  energy consumers.
    We think it’s a potential  game-changer amongst a sea of competing interests and apparently so does the U.S.  Department of Energy. They’ve backed our engineering efforts with innovation  research grants to help us commercialize our technology.
    We’re on the hunt for a  talented programmer with the ability to fuse design and technology like no  other. You’ll help craft the user interface components that make our energy  management system the most attractive and easy-to-use on the market.  Ease-of-use, visual appeal, and intuitive behavior will be your raison d’être. Bring  a passion for energy efficiency, rich internet applications, consumer  electronics, and mobile development platforms.
    This is a paid full-time position  offering compensation and equity options commensurate with your experience and ability  to make significant contributions to the development of our product.
    If this sounds like a job  you’d love, keep reading to see what we’re looking for.
    Does this sound like you?
    Talent  for developing dynamic and rich Internet applications
    Experience  with Adobe Flash, Flex, HTML 5, and JavaScript
    Versed  in UI development best-practices and supporting technology frameworks
    Knack  for implementing elegant user interface controls and components
    Unparalleled  ability to anticipate user behavior and response to designs
    Ability  to work and collaborate effectively with creative and technical teams
    Experience  integrating web services and Java server-side technologies
    Aptitude  for mastering new technologies in short periods of time
    Ability  to work autonomously on new product features with minimal instruction
    Proficiency  with vector and bitmap graphics libraries, applications, and tools
    Extra  credit for mobile development skills for iOS and Android platforms
    Coincident is located near  South Station in Boston’s Innovation District and is a member company of Greentown Labs, Boston’s first and only clean technology incubator. Resumes and cover letters should be addressed to [email protected].
    United States Citizens and Residents  only, please.

    Another option: I bought a nice one at REI for PWB in March, and now use it for MBP. Has space for my wacom tabet and also small 3x5 or so firewire HD, and of course power adapter and misc stuff. notebook compartment can be removed and carried separately. Very happy with it.
    George

  • How to read http cookies from adobe desktop Air app using flex/flash builder in AS 3.0 ??

    Im developing Adobe desktop air app where i need to read the session id from the cookie of a http request.
    I have found a property called URLRequest.manageCookies supported by AIR so i Hope there should be a way to read the cookies as well. Im Using Flash Builder 4.5
    Please provide any reference code or guide me for this research;
    searched a lot regarding on this web.
    Most results lead to local shared object or reading cookies fr a webpage using javascript and ExternalInterface.
    I want to read http cookies not Local shared Object and in a desktop AIR application.
    Im using Flash builder 4.5
    Thanks
    Hari

    Sorry, but you are at the wrong forum; this one is only for discussions on the forums themselves. The Air forums are here:
    http://forums.adobe.com/community/air

Maybe you are looking for

  • No Adjustment account found for cost element

    Dear Gurus, I am getting Three errors  msg "No Adjustment account found for cost element" when i try to run the conformation of production order create  ( T Code : C015 )"  and I am not able to save the record . like 1 ).No adjustment account found f

  • I'm not gonna say "iCal blows"... You know it, I know it, I won't say it.

    "honk" What's with these little alarms on iCal? ... Who's gonna hear that? I'll tell ya who: Nobody and if you're sleeping, you can forget about it. Now see here, I'm 57 years old, I can hardly read what I'm writing. I wanna change my calender. Can s

  • Problem installing Weblogic Commere Server 3.5

    Hi, I installed an evaluation copy of Weblogic 6.1 server. Then I started the installation of an evaluation copy of Weblogic Commerce Server 3.5. I double clicked on the WLCS_35_with_sp1win32 to start the installation. I get the following error in th

  • Battery glitch?

    I have a 13" Macbook Pro 10.6.2---it's relatively new I bought it in October. Anyways I was in the middle of writing a huge paper last night, saw the power icon say 0% on the battery. I freaked and plugged it in. Battery shouldn't have been anywhere

  • Open MM03 with a material number from CRM UI

    I can launch MM03 from CRM UI. Please guide me how to open MM03 with a particular material (skiping first screen if possible) from the CRM_UI screen.