How to set the cookie or session of one domain to another domain

Hi,
I am using tomcat server. I am facing a issue of session lost when I am moving from one domain to another domain.
e.g. http://mydomain.com/ to http://a.mydomain.com.
Is there any way to set the cookie or same session to sub domain in tomcat.
Please help me. I will be highly obliged.

a tutorial from JavaWorld
http://www.javaworld.com/javaworld/jw-01-2001/jw-0126-servlets.html?page=1

Similar Messages

  • How to migrate the concurrent managers definations from one instance to another

    How to migrate the concurrent managers definitions from one instance to another instance by using FNDLOAD in R12.1.3
    Greatly appreciate any help on this.
    Thanks!

    Concurrent managers can't be migrated using FNDLOAD -- Tips and Examples Using FNDLOAD (Doc ID 735338.1)
    What are you trying to achieve here? Why migrating CMs from one node to another?
    Thanks,
    Hussein

  • How to set the font size on only one object!

    I wonder how i could programmatically set the font size on only one object?
    Igor Stojčević

    Hello,
    You can use the builtin SRW.SET_FONT_SIZE
    http://www.oracle.com/webapps/online-help/reports/10.1.2/topics/htmlhelp_rwbuild_hs/rwrefex/plsql/builtins/srw/srw_set_font_size.htm
    in the Format trigger
    http://www.oracle.com/webapps/online-help/reports/10.1.2/topics/htmlhelp_rwbuild_hs/rwrefex/plsql/triggers/tr_format_trigger.htm
    Regards

  • How to pass the check box values from one view to another view

    Hi Experts,
    I have a selection screen view which consists of check boxes.
    WBS System status.
    Release                      Completed                  Closed as 3 check boxes.
    Note : The above ones are check boxes.
    Based on the selection made by the user, those values needs to be passed to second view which retrieves the data and
    displays the data accordingly.
    At the same time if the user does not make any selection, then WBS System status should contain Released, Completed and Closed values and that needs to be sent to Second view.
    Kindly advise.
    Regards,
    Chitrasen

    hi ,
    make a attribute of type WDY_BOOLEAN to achieve this functionality
    u need to follow these steps :
    1 in side ur component controller , under the ATTRIBUTES tab , make 3 attributes say attr1 , attr2 and attr3 of type WDY_BOOLEAN
    2 create a context node , cn_check and 3 context attribute ca_check1 , ca_check2 and ca_check3 in ur first view for
    release , complete and close check boxes
    3 inside the DOINIT of ur 1st view , set the attributes attr1 , attr2 and attr3 to blank
    wd_comp_controller->attr1 = ' '
    wd_comp_controller->attr2 = ' '
    wd_comp_controller->attr3 = ' '
    4 inside the method , where u r validating , if the check boxes are checked or not , read the attributes ca_check1 , ca_check2 and
    ca_check3
      DATA lo_nd_cn_check TYPE REF TO if_wd_context_node.
        DATA lo_el_cn_check TYPE REF TO if_wd_context_element.
        DATA ls_cn_check TYPE wd_this->element_cn_check.
        DATA lv_ca_check1 LIKE ls_cn_check-ca_check1.
    *   navigate from <CONTEXT> to <CN_CHECK> via lead selection
        lo_nd_cn_check = wd_context->get_child_node( name = wd_this->wdctx_cn_check ).
    *   get element via lead selection
        lo_el_cn_check = lo_nd_cn_check->get_element(  ).
    *   get single attribute
        lo_el_cn_check->get_attribute(
          EXPORTING
            name =  `CA_CHECK`
          IMPORTING
            value = lv_ca_check1 ).
    IF lv_ca_check1 EQ 'X' .
    wd_comp_controller->attr1 = ' X'
    wd_comp_controller->attr2 = 'X '
    wd_comp_controller->attr3 = ' X'

  • How to move the pages and reports from one dashboard to another

    hi all
    can please any one tel me hw to copy the reports along with pages from one dashboard to another
    Thanks

    Hi,
    Go to Administrator->Manage Presentation Catalg->Click on Group folder under which the dashboard and reports are present
    1)Create one folder and copy the reports which are present in the dashboard pages you want(reports will be under some specific folder,open and copy one after the other to the newly created folder).Do this if you want other set of same reports for new dashboard that you are creating
    2)Click on _portal and create a new folder(new dashboard)
    3)Click on dashboad that is to be copied
    4)copy the pages one after the other into new dashboard folder
    If you are not keeping new set of reports then no need to point reports in pages,if reports are placed under new folder then go to each page and pull those reports from newly created folder.
    Regards,
    Srikanth

  • How to keep the filter when jump from one report to another report?

    Hi experts,
    How to use the "Link" or "Button Group" Web Item in BEx Web Application Designer to jump from one report A to another report B, both the filter of report A and report B could be kept and not missing.
    When I use jump from report A to report B, the filter of Report B disappears.
    But I need the filter of Report B to stay there and could be used.
    Thanks
    Alex

    Hi..
    I tried Your approached but I got an error as the field are connected to Entity Object and they are mandatory.
    I achieved it using another way. Using " setForwardURL " method only.
    As I am calling this method to delegate back to first page. This method takes 8 input parameters.
    The 6 no parameter is about to retain AM or not. It a boolean type. Initially it was TRUE as soon as I changed it to False it worked as I needed. :)
    Thanks and Regards,
    Ajay

  • How to set the computer to a workgroup and attach to a domain

    I have been a Windows user for quite some time. I have just acquired an eMac installed with version 10.2. I have looked up the Network applet but couldn't work out where to set up the work group or attach it to a domain. Can somebody help me please? Thank you!
    eMac   Mac OS X (10.2.x)  

    UIManager.put("MenuItem.selectionBackground", Color.orange);
    For a list of all the properties that can be changed using the UIManager, see:
    http://www.discoverteenergy.com/files/ShowUIDefaults.java

  • How to set the domain of a cookie in localhost environment

    in some scenario i have to set the domain of cookie on my local environment,
    how can be done?????????????
    i.e http://localhost:7001/myapp/testservlet
    how to set the cookie domain for "myapp"

    Hi
    After Some googling I could find out this for you. I think it is a bug with IE.
    http://www.webmasterworld.com/forum21/11530.htm
    The idea is to use a virutal host.
    HTH
    VJ

  • How to transfer the whole address book from one no...

    Dear friend,
    Could you please advise me "how to transfer the whole address book from one nokia to another nokia phone via blue tooth connectivity. (move one by one is not convenience for my hundreds of contact.
    Thank and waiting for advice...
    victor

    If your phones have the built-in "Transfer" (sometimes called "Switch") application, try it.
    Otherwise, depending on the model(s) you can also copy all contacts to/from the memory card, and get them over that way.
    And you can also synchronize both programs to the same service (e.g., Outlook on a Windows PC using Nokia PC Suite).
    And newer versions of Nokia PC Suite can also be used to make a backup of one phone, and then restore to another.
    PC Suite you can find here: http://www.nokia.com/pcsuite

  • How do I make my banner flash from one photograph to another?

    Good day.
    I am using Dreamweaver CS5.
    My banner of 968px X 280px is a JPG image (photograph) with a logo.
    I would like to learn how to make the banner photograph flash from one photograph to another.
    Can anyone help me with how to do this or guide me to where I can find a tutorial on this?
    Can this be done in Dreamweaver with code, or do I have to do this in another application first?
    I have Flash, Fireworks and Photoshop.
    I will appreciate help.

    Leah Adams wrote:
    Hi. Thanks!
    Yes, that is what I am looking for, if I can keep the same dimensions of my banner.
    Will jQuery allow me to specify my own dimensions?
    It's not jquery that determines the dimensions of your container for your images, you do. The dimensions can be any size. jquery is just a script which alternates the images within the container:
    Go to the link below and look at the source code.
    http://jquery.malsup.com/cycle/basic.html
    These are the two jquery scripts you will need to download:
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>
    <script type="text/javascript" src="http://cloud.github.com/downloads/malsup/cycle/jquery.cycle.all.latest.js"></script>
    plus you'll need to include this small snippet in the 'head' section of the page. Change .slideshow to the class name of your container.
    <script type="text/javascript">
    $(document).ready(function() {
        $('.slideshow').cycle({
    fx: 'fade' // choose your transition type, ex: fade, scrollUp, shuffle, etc...
    </script>

  • How to set a cookie in the browser from an html page called via an Iview

    How to set a cookie in the browser from an html page called via an Iview
    Hello all,
    I have an issue which is causing problems. I have a snap survey (html form with submit and cookie setting) which is embedded in a url iview.
    Although the submit and the form work fine, the portal will not allow the cookie to be set it seems.
    Is there a way to allow cookies to be set from an embedded page in a url iview??
    You will make my day if you know!
    System: EP7 SP13
    Kind regards
    Alex

    Hi,
    Check this:
    http://www.oracle.com/technology/products/ias/portal/html/same_cookie_domain_with_pdkv2.html
    Cookie Basics
    Web browsers have built in rules for receiving and sending cookies. When a browser makes a request to a web server and the web server returns cookies with the response, the browser will only accept a cookie if the domain associated with the cookie matches that of the original request. Similarly, when a browser makes a subsequent request, it will only send those cookies whose domain matches that of the target web server.
    These rules are designed to ensure that information encoded in cookies is only "seen" by the web server(s) that the originator of the cookie intended. These rules also ensure that the cookie cannot be corrupted or imitated by another server. By default, the domain associated with a cookie exactly matches that of the server that created it. However, it is possible to modify the domain at the time the cookie is created. Relaxing the cookie domain increases the scope of the cookie's visibility making it available to a wider "audience" of web servers.
    For example, if a cookie is created by a.us.oracle.com, it's domain will usually be set to a.us.oracle.com. This means that the browser will only send the cookie to a.us.oracle.com. It will never send it to any other servers. However, if at the time of creation, the domain of the cookie is set to .us.oracle.com, the browser will send the cookie to any server whose domain falls within .us.oracle.com. such as portal.us.oracle.com, provider.us.oracle.com, app.us.oracle.com etc
    Regards,
    Praveen Gudapati

  • How to set the session using onClick event?

    Dear All,
    I have a link, which once the user click on it, I want to set the session.
    <a href="link.jsp" > Link </a>How to set the session? Where should I put <%session1.setAttribute ("test", "1234"); %>?
    Any idea?
    Thanks

    when u click on Link
    the control goes to link.jsp/.
    and in this page u can write the session related code.

  • How to set HTTP cookie ORA_adf_viewScope

    Hi,
    I'm recording ADF page navigation using LoadRunner. From the browser, I see that one POST request sets http cookie ORA_adf_viewScope and the subsequent GET submits this cookie as part of the HTTP header. I don't see this cookie from any of the page source. LoadRunner is not able to record this cookie as well. Hence when I replay LR script, the GET request returns wrong page.
    Any one knows how to set this cookie?
    Thanks,
    Tong
    Edited by: user708470 on Jun 18, 2009 12:07 PM

    I believe it is possible since axis adapter provides very same functionality. Let me summarize my scenario may be it helps:
    I am trying to call series of webservice lets say in a BPM. First service (login service) will provide me with a session id (in http header with key Set-Cookie) then I will call another service which has that session id in its http header with key cookie then I am going to logout. So I am testing the second part now, but it doest let me send cookie http header parameter.
    I hope I clarified a bit more my problem.
    Regards,

  • How to prolong the bluetooth timeout session on ipad and iphone

    how to prolong the bluetooth timeout session on ipad and iphone?
    I understannd that the standard timeout setting is 3 mins. what if I want to prolong the connection duration, how should I do?
    thanks

    To my knowledge, there is no "time out" on a device.  A mouse, KB, etc will go into a low power mode after a short period of non-use.
    Barry

  • How to clear the cookie in midlet before quite the midlet?anyone?pls

    i am fresh in J2ME . Can anyone teach me on how to clear the cookie in midlet before i quit from it?
    I designed an application that require login and use session(cookie) management, i need to clear the cookie before or during i quit the midlet, so that the user will need to login again after quit from midlet. Can anyone pls assist me? i need it urgently!

    I designed an application that require login and use session(cookie) management,How did you implement the cookies. This isn't a built-in part of J2ME. You have to implement it yourself (saving the cookie and resending it in future requests), so only you can know how to delete it.
    shmoove

Maybe you are looking for