Using session data across applications and subdomains

Is there a way to share session <b>data</b>
across different CF applications? across different subdomains?
The goal here is single source login that stores complex data
in a re-useable session scope. The current installation uses wddx
to serialize the data and drop it into a cookie. I am looking for
alternatives to the WDDX method as it has been causing a number of
errors.
For example I have application "a" at appA.domain.com ~ a
user logs in an a session is created [domain cookies are set].
I would like the user to be able to go to both
appA.domain.com/subapp [which has its own application.cfm] and
reuse the session created at appA.domain.com.
Similarly I would like the session created appA.domain.com to
carry over to appB.domain.com [which would has its own
application.cfm file].
Thanks for any help.
~jason.

That would be known as cros-site scripting and most browsers
disable that now, as it is a security issue if an application can
read cookies from a different site domain.
Sites that use cross-site data have to either pass it at the
time accessig the other domain (via URL) or use a single database
to record and recall data between applications.
Passport is a good example. Even though you can use Passport
on any site that offers it, the site ultimately tranfers you to the
Passport website momentarily to collect your login and then
transfers you back to your site along wth the credentials in a URL
variable so your own site can then record the cookie and state you
are logged in. It doesn't actually read the Passport cookie from
your own site.
If you were to create a DB that applies to multiple sites,
you could figure out a way to populate session variables on
separate sites by quering the DB for the data if there is no data
currently stored, or if it detects that the referer was a different
URL prior to loading the current site. Once it queries the data it
can store the data in a session variable.

Similar Messages

  • How to share the same session between JNLP Application and browser session

    How to share the same session between JNLP Application and browser session using BasicService.showDocument(url) method? It appears whenever i launch any URL from within a JNLP application using BasicService.showDocument(url) , it creates new instance of browser and session even after i used cooke handlers to restore JSESSIONID and Ltpa token etc.
    public static int showDocument(String urlToOpen)
    BasicService obj = (BasicService) ServiceManager.lookup("javax.jnlp.BasicService");
    obj.showDocument(urlToOpen);
    }

    Try using Reflection

  • IPhone 5 unable to use mobile data, only FaceTime and passbook listed

    my iPhone 5 is unable to use mobile data, only passbook and face time are listed, none of my apps. I have tried re setting and this didn't work, mobile data is switched on

    Hi Lydia,
    It may help to force close all open apps and reset your iPhone.
    Force an app to close in iOS
    http://support.apple.com/en-us/HT5137
    Turn your iOS device off and on (restart) and reset
    http://support.apple.com/en-us/HT1430
    If you still can't enable mobile data for your various apps, the next step would be to reinstall iOS on your device by placing it in Recovery Mode, then choosing Update in iTunes.
    Make sure that you have iTunes 12 or later on your computer.
    Put your device in recovery mode.
    When you get the option to restore or update, select Update. This will reinstall iOS without erasing your data.
    If your iPhone, iPad, or iPod touch doesn't respond or doesn't turn on
    https://support.apple.com/en-us/HT201412
    Sincerely,
    Allen

  • Using session storage between Report and Frame Driver

    I have an existing report that has a link calling a frame driver with multiple forms. I would like to make the Initial Target Frame Content dynamic based on information contained in the targeted record of the report. I am able to make this work (in basic concept) on the frame driver side, but have not been able to pass session variables from the report side. I can, of course, pass bind variables via a link from the report. Does anyone know of a way to access the parameter bind varaiables in the frame driver component using session storage or something else in order to make these variables available to the PL/Sql of the Initial Target Frame?
    Message was edited by: PM
    user477244

    Seems that session is changed during logon or even if
    web page (where the servlet is located) is refreshed!In Portal 10g (and maybe even in 9.0.2.6) the Web provider session is not lost any more when the user logs in to Portal.
    PL/SQL doesn't lost the session storage data during
    logon. But is it possible to find Java session storage
    from PL/SQL session storage?No, you cannot share the session between database and Web providers. You need to find other ways to share information between portlets belonging to different providers. You can use parameter passing, or a persistent store, such as the database.
    Java session storage doesn't use domain name or
    subdomain which are mandatory for PL/SQL session
    storage.The domain, sub-domain strings are irrelevant, as long as you can uniquely identify your session variable. For example, if you want to make sure that you have a separate session variable for every portlet instance, you should include the preference path in your domain or sub-domain. In case you want to share the session store between your portlets, don't include the unique portlet ID.
    Peter

  • Using CLOB data type - Pros and Cons

    Dear Gurus,
    We are designing a database that will be receiving comments from external data source. These comments are stored as CLOB in the external database. We found that only 1% of incoming data will be larger than 4000 characters and are now evaluating the Pros and Cons of storing only 4000 characters of incoming comments in VARCHAR2 data type or using CLOB data type.
    Some of the concerns brought up during discussion were:
    - having to store CLOBs in separate tablespace;
    - applications, such Toad require changing defaults settings to display CLOBs in the grid. Default value is not to display them;
    - applications that build web page with CLOBs will be struggling to fit 18 thousand chararcters of which 17 thousand are blank lines;
    - cashing CLOBs in memory will consume big chunk of data buffers which will affect performance;
    - to manipulate CLOBs you need PL/SQL anonymous block or procedure;
    - bind variables cannot be assigned CLOB value;
    - dynamic SQL cannot use CLOBs;
    - temp tables don't work very well with CLOBs;
    - fuzzy logic search on CLOBs is ineffective;
    - not all ODBC drivers support Oracle CLOBs
    - UNION, MINUS, INTERSECT don't work with CLOBs
    I have not delt with CLOB data type in the past, so I am hoping to hear from you of any possible issues/hastles we may encounter?

    848428 wrote:
    Dear Gurus,
    We are designing a database that will be receiving comments from external data source. These comments are stored as CLOB in the external database. We found that only 1% of incoming data will be larger than 4000 characters and are now evaluating the Pros and Cons of storing only 4000 characters of incoming comments in VARCHAR2 data type or using CLOB data type.
    Some of the concerns brought up during discussion were:
    - having to store CLOBs in separate tablespace;They can be stored inline too. Depends on requirements.
    - applications, such Toad require changing defaults settings to display CLOBs in the grid. Default value is not to display them;Toad is a developer tool so that shouldn't matter. What should matter is how you display the data to end users etc. but that will depend on the interface. Some can handle CLOBs and others not. Again, it depends on the requirements.
    - applications that build web page with CLOBs will be struggling to fit 18 thousand chararcters of which 17 thousand are blank lines;Why would they struggle? 18,000 characters is only around 18k in file size, that's not that big to a web page.
    - cashing CLOBs in memory will consume big chunk of data buffers which will affect performance;Who's caching them in memory? What are you planning on doing with these CLOBs? There's no real reason they should impact performance any more than anything else, but it depends on your requirements as to how you plan to use them.
    - to manipulate CLOBs you need PL/SQL anonymous block or procedure;You can manipulate CLOBs in SQL too, using the DBMS_LOB package.
    - bind variables cannot be assigned CLOB value;Are you sure?
    - dynamic SQL cannot use CLOBs;Yes it can. 11g supports CLOBs for EXECUTE IMMEDIATE statements and pre 11g you can use the DBMS_SQL package with CLOB's split into a VARCHAR2S structure.
    - temp tables don't work very well with CLOBs;What do you mean "don't work well"?
    - fuzzy logic search on CLOBs is ineffective;Seems like you're pulling information from various sources without context. Again, it depends on your requirements as to how you are going to use the CLOB's
    - not all ODBC drivers support Oracle CLOBs not all, but there are some. Again, it depends what you want to achieve.
    - UNION, MINUS, INTERSECT don't work with CLOBsTrue.
    I have not delt with CLOB data type in the past, so I am hoping to hear from you of any possible issues/hastles we may encounter?You may have more hassle if you "need" to accept more than 4000 characters and you are splitting it into seperate columns or rows, when a CLOB would do it easily.
    It seems as though you are trying to find all the negative aspects of CLOBs and ignoring all the positive aspects, and also ignoring the negative aspects of not using CLOB's.
    Without context you're assumptions are just that, assumptions, so nobody can tell you if it will be right or wrong to use them. CLOB's do have their uses, just as XMLTYPE's have their uses etc. If you're using them for the right reasons then great, but if you're ignoring them for the wrong reasons then you'll suffer.

  • Single Sign on using SAML between JWS application and Web Application

    Hi,
    We have two applications one is swing based Java Web Start application and other is a normal web application. We are trying to enable single sign on between both the applications. Can SAML be used to enable single sign on? If yes, can some one let us know how to do this?
    Thanks,
    Rama

    Thanks. But it is based on two WEB applications deployed on two different weblogic domains. What I am looking for is one application which is launched using Java Web Start(JNLP) and other a web application. The Java Web Start application uses its proprietary authentication implementation and the web application used DefaultAuthenticator of weblogic. Hope this detail will help you to answer my question better. I should have given this information earlier.
    Thanks.
    Rama

  • Passing session data between jsp and servlet

    I have a servlet that I pass data to my jsp.
    I do a session.setAtrribute in the servlet. No problem.
    I get the data no problem in the jsp that I call.
    How do I pass this same data to the another servlet?
    I basically have an array of values that I already have in the existing jsp that has been set in session.
    When I call the secondary servlet, I don't have anything in this session variable related to my array.
    Prior to posting to my next servlet, do I need to do another setAttribute inside the jsp to get the data passed to the servlet?
    Thanks.

    Two different things. The encoding adds this to the URL (after the page, before the query string
    ;jsessionid=ABC123 but only if the user isn't using cookies.
    So in your example, you would do this (maybe):
    <%
      String url = response.encodeURL("Servlet");
    %>
      <form name="form1" method="post" action="<%= url %>?cmd=pay"> ... Or some modification.
    So the difference between encodeing and using a post is that
    1) encoding adds the jsessionid to the url string if necessary. It does nothing else
    2) POSTing will send a request to the provided URL via the POST method, including the inputs of the form as parameters to the URL.
    They really don't interact with each other. It is like asking what is the difference between the Color Orange and thr Size Big? They can both be applied to the same thing, or not... and have no real relation to each other.

  • Pass data across popups and submit in last popup

    Hi,
    This is my scenario.
    I have three popups with three buttons and some input text fields. When i click on button in first popup, the second popup comes up and when i click on button of second popup, third popup comes up. In third popup i submit the data. I am using a siebel WSDL file for datacontrols and the input fields in all popups are bound to that wsdl file.
    When i run the page, only data from last popup is going into Siebel, which i found out using HTTP analyzer.
    Help me out on this issue.
    Thanks
    Sai

    Why you don't add autosubmit or something like that to the other popups? Also you can get the values from the input of the popups in the managed bean and in the submit button action to submit the data in the managed bean?

  • HT201673 I would like to use cellular data for internet and my home network for printing, without having to cycle wireless on and off every time I print

    the only internet connection I have at my home is a cellular  connection. It is very unproductive having to turn wifi on to print and then back off to reconnect to cell service. Looking for options. I own a linksys e2500 router that I currently network through, but it has no internet connection, as no home internet available in my area.

    You can have a go using a wireless bridge.. eg the airport express will do this.. you can join it to the iphone wireless running as a hotspot.. and then plugged into the TC wan port.. the TC has to be setup in router mode.. so this is going to give you double NAT errors.. and of course errors for all the time the hotspot is turned off.. but it can work. However you might find it requires you to manually connect up each time.. If you are really going to try and do this you will manage it.. but how fiddly it becomes might put you off after a week.
    You will chew up your 5GB very fast using any streaming media even radio. So be very careful to track the usage.
    Apple should have built in the TC the ability to plug in a wireless 3G modem.. via the USB but Apple have ceased to do adventurous stuff.
    If you give up the TC as main router there are plenty of better products on the market that will handle multiple wan connections.. !!

  • Using numbers as accounting application and combine with ical

    I am facing a slight challenge. I love using quickbooks, but there is no version for Mac in SA. I need to be able to set up numbers in such a way that when I save an ivoice as a pdf, the information on the invoice is saved on a spreadsheet in date order. I also need to have a reminder come up in ical so I can follow up on the invoice. Is it also possible for each invoice to be assigned a number automatically?
    Any feedback would be appreciated.

    I am facing a slight challenge. I love using quickbooks, but there is no version for Mac in SA. I need to be able to set up numbers in such a way that when I save an ivoice as a pdf, the information on the invoice is saved on a spreadsheet in date order. I also need to have a reminder come up in ical so I can follow up on the invoice. Is it also possible for each invoice to be assigned a number automatically?
    Any feedback would be appreciated.

  • IW41 using HR data (cost centre and activity type)

    Hi all,
    Does anyone know the steps required to make IW41 determine the Cost Centre and Activity Type from the HR master?
    We can change the Activity Type by user-exit CONFPM04, but not the Cost Centre.
    Also posted [here|http://www.sapfans.com/forums/viewtopic.php?f=7&t=329923].
    PeteA

    Hi Pete,
    Which cost center field are you using? SKOSTL (sender cost center) should be changeable in export structure AFRUD_EXP. It is this field that is written to the AFRU table (not KOSTL). I did a quick check through debug and it looks possible to set a value in the exit that gets written to AFRU-SKOSTL.
    -Paul

  • Session tracking across applications

    Hi,
    Now we have several web applications under developing simultaneously but we need the same session. On tomcat, session tracking is limited only to one application, how can we get the same session?
    Thanks a lot!
    Annie

      ServletContext  scc = this.getServletContext().getContext("/otherApp");
      RequestDispatcher rd = scc.getRequestDispatcher("/index.html");
      try {  rd.forward(req, res); } catch (Exception e) { System.out.println("Dispatch Forward Error : " + e); }where otherApp is another webapp on the same server.

  • My appe id is not using for downloading any applications and after logining in it just asking me to review while reviewing i am giving everything which required but it asking and showing that invalid code.how can i get that code it given that by itunes ?

    my iphone is not supporting to dowlaod anything after giving id and passwrd it just showing to review while i am review i am giving complete information which it requires but it just saying that it given a invalid code what is that mean and how to give a correct code please reply me fast

    Hi there vinod467,
    You may find the troubleshooting steps in the article below helpful.
    iTunes Store: Invalid, inactive, or illegible codes
    http://support.apple.com/kb/ts1292
    -Griff W. 

  • I'm trying to use the cs2 download applications and getting an invalid libaray/information error. Cannot continue

    Need help getting past error when downloading CS2 applications. Cannot get past Disc1.exe.

    Andrea please see Error "Please personalize your copy..." or "The serial number..." | InDesign, InCopy | CS2 | Windows XP for information on how to resolve this error.

  • Some of my applications and/or folders got corrupted after using Migration Assistant

    Hello,
    Had an iMac with Snow Leopard installed (1 single admin user).
    Also had a Mac Mini with Snow Leopard installed (1 single admin user).
    Got everything transfered to a single brand new MacMini with Lion pre-installed using the following method:
    - Started the new Mac Mini from scratch and used Migration Assistant during setup process to import ALL data from old MacMini (user, applications, settings and other files) using ethernet connection.
    - This went perfectly well with 1 or 2 minor errors regarding 1 or 2 startup items but resolved with erasing and re-installing them.
    - Applied all available Software Updates to get an updated version of Lion (10.7.5)
    - Then launched Migration Assistant from the new Mac Mini to import ALL data from iMac (user, applications, settings and other files)
    - This went well as I got the same message than previous transfer (all data was transferred OK)
    - Also got another message saying some X folder was not compatible with targeted system and same with some CHUD folder.
    I finally got my 2 admin users gathered onto the single new Mac Mini in 2 separate admin user sessions.
    If an app was already transferred from the old Mini but also installed on the iMac it did not get transferred from the iMac thus keeping the Mac Mini version.
    For such apps I have permissions issues and some of the folders used by the 2 different admin users such as /Movies or /Documents are locked depending on which user session is opened.
    I tried repairing permissionsusing Disk Utility but with no success.
    I also tried to delete and re-install these applications but it did not work.
    Last chance was to grant full access attributes to the related folders via their information panel or System Preferences (User & Groups tab) but it did not work either.
    Could somebody please explain the background for this issue and how could I solve it?
    I am thinking of re-installing Lion from scratch, transfer the old Mac Mini again (ALL data) and then import iMac user but only USER data (not applications and settings). Would it work?
    Thanks for any help you could provide,
    François

    I was finally able to fix this by using a couple of preference management utilities. Either I missed a key preference file for each app, or there are some hidden preference files, but when I used the prefence management utitilities (such as Preferntial Treatment, PrefEdit, Defaulter, or PlistEdit Pro) I was able to look at the prefs for Firefox and Photoshop CS2 and see where the hostname for the my old G4 was listed. (in the case of Photoshop CS2 it was actually in the list of recently opened files!! I should have noticed that from within Photoshop)
    Now that I've removed those entries from preferences both Photoshop and Firefox run without prompting that the old G4 had to mounted.
    oh, also... I found that for both Photoshop & Firefox I could actually get them to work without mounting the old G4's root volume - it just took clicking past the pop-ups (about 10 of them for each app) and waiting a long time as it searched around for the next one (maybe about 10 minutes total ... normally I don't have time to waste like that, but I got curious and made the time).
    Thank you for your suggestions. as I had suspected, Migration Assistant moved some preferences from the old G4 that had it's hostname embedded and for some reason the apps weren't clearing them out when they were launched on the new machine (again, odd since I didn't have Migration Assistant move the apps from the old G4 to the new G5 - I installed each app on the G5 as a new install (aka: a "clean install") to avoid just this type of problem).
    My real thanks are to the authors of the above mentioned preference management utilities.
    Quad Core PowerMac G5 Mac OS X (10.4.3)

Maybe you are looking for

  • Chinese Characters in ABAP Mapping

    Hi All,   I have one problem with chinese characters in ABAP Mapping. Actually there is an ABAP Mapping written in XI which converts IDoc to Idoc Flat file which is provided by SAP and is in the below link. https://www.sdn.sap.com/irj/sdn/go/portal/p

  • FTP Adapter unable to deliver inbound Msg to mediator - NullPointerExceptio

    Hi All, I am trying to Poll a XML fIle in remote server thru FTP ADapter, i am getting below error while polling, at server its faulted and can see error message as java.lang.NullPointerException. FTP Adapter Project2 Failed to send message {home/XXX

  • Embedded swf in pdf does autoplay in IE(9), does not play in Firefox and Chrome.

    I created a pdf with swf embedded. Set it to autoplay. Does play fine in IE9. In Firefox and Chrome video shows up (initial picture) with a play button. Will not play, not auto nor when I click the play button. Firefox and Chrome I just downloaded, s

  • Problems with basic Java JPanel animation using paintcomponent

    okay so I am trying to animate a sprite moving across a background using a for loop within the paintComponent method of a JPanel extension public void paintComponent(Graphics g){ Image simpleBG = new ImageIcon("Images/Backgrounds/Simple path.jpg").ge

  • ManageCustomerQuoteIn Multiple Lines Issue

    The following document talks about the Service for importing Quotes... [Inbound Service ManageCustomerQuoteIn|https://www.sme.sap.com/irj/sme/go/portal/prtroot/docs/library/uuid/902baed6-ce7f-2f10-99b9-8940b2996dbe?QuickLink=solutions&54936926708668]