Can multiple web pages use the same cookie?

I have an applet that will reside in several different web pages. The applet creates a cookie that saves user preferences and loads them when the user next uses the applet. The problem is that I want the same cookie to load when the user views the same applet at a different IP Address. Is this possible? If so, how? I am currently using the netscape JSObject stuff to write and read my cookie.
Thanks,
Derek

Sorry, you cannot access cookie across domains.
If being able to access same cookie from different pages in the same domain satisfies you need, read on.
Let's suppose you have two html files kept on your server as follow::
MyHTML/main.html
MyHTML/subDir/A.html
Now, let say that when you save the cookie, the path is not specified. A.html will not be able to access the cookie set by main.html. However, if you specified PATH=/ (along with other values and expiry date-and-time), both html files will be able to access the same cookie via the document.getMember method.
This is more of a JavaScript question than a Java question and you might want to pay a visit to the link below:
http://forums.internet.com/WebX?[email protected]^[email protected]
you can go to the bottom of that page, click search and type in cookie and you'll see a lot of Q&A on the topic.
Good Luck
V.V.

Similar Messages

  • Can multiple APEX application use the same parsing schema?

    Hi,
    I have 4.2 APEX thru pl/sql Gatewat, 11gr2 DB and using theme 24.
    Due to the APEX limitation for version control I would be splitting 1 big ERP applications into 24 different APEX applications and each application would be considered as 1 unit for version control.
    I have about 800 tables and I would assume that all of these would need to be stored in 1 schema since a lot of these table are linked thru FK.
    Can I have multiple APEX APPS using the same parsing schema? or is there a better way to do this?
    Thanks in advance!

    Hi,
    Multiple applications can have same (one) parsing schema.
    You can test that on e.g. apex.oracle.com, where normally you have only one schema and you create multiple applications and all use that same schema.
    Regards,
    Jari
    My Blog: http://dbswh.webhop.net/htmldb/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai
    Edited by: jarola on Jan 28, 2013 7:15 PM

  • Can multiple Virtual Devices use the same IVI Driver Sessions?

    I am using Switch Executive 2.0 and I'm having problems creating multiple Virtual Devices.
    I have created a virtual device on a development computer that has no hardware connected to it.  This virtual device uses specific drivers to simulate the devices.  The problem I'm having is that when I create a second virtual device and try to add the same IVI Switches as the first Virtual device, I'm getting the following error:
    An error has occurred while attempting to access the device deviceA_ivi.
    Error -223116 occurred:
    Internal Software error occurred in Switches software.  Please contact National Instruments Support.
    File name: .\source\mxsWrappers\tMXSObject.cpp
    Line Number 192:
    Status Code: -223116
    Can someone please explain why?

    Can you please elaborate on how did you create those simulated devices? Namely, what does your IVI configuration look like? What does the driver session for the logical name look like? What's the software module? What's the hardware module? What is the driver setup string, and what is the simulation mode for the device in question?
    -Serge
    Srdan Zirojevic

  • How can i create multiple accounts but use the same itunes?

    how can i create multiple accounts but use the same itunes?

    Hi iCloud is Making Me Go Crazy,
    You will need to create a new Apple ID for your GameCenter and iCloud services.  You can continue to use the current Apple ID you share with your Mom for access to iTunes Store purchases if you wish. 
    Using your Apple ID for Apple services
    http://support.apple.com/kb/HT4895
    Frequently asked questions about Apple ID
    http://support.apple.com/kb/HT5622
    Cheers,
    - Judy

  • What happens on iCloud (ex. contacts) when multiple family members use the same Apple ID?

    What happens on iCloud when multiple family members use the same Apple ID?  For example if we all choose to use iCloud for contacts, are they all merged together?  We use the same Apple ID so we can use find my iPhone to keep track of the whole family.

    Of course if you are both connected to the same iCloud account you have the same contacts - what did you expect?. The contacts live on the server and are read from there by the devices; so as you've both managed to sync your contacts up to iCloud they are now inextricably mixed. You can only delete your contacts by deleting individual ones, and doing that will delete them from your phone as well.
    You can only unravel this by
    1. In the iCloud contacts page at http://icloud.com, select all the contacts, click on the cogwheel icon at bottom left and choose 'Export vCard'.
    2. Sign out of System Preferences>iCloud
    3. Create a new Apple ID and open a new iCloud account with it for your own use.
    4. Import the vCard back into the iCloud contacts page.
    5. Go to http://icloud.com and sign in with the original ID. This is now his ID. Work through the contacts individually deleting the ones you don't want him to have. When done sign out and advise him to change his password.
    6. Go to the new iCloud account and delete his contacts individually.
    Of course if you have also been syncing calendars and using the same email address there are problems with doing this.

  • Obiee 11g and custom j2ee app using the same cookie name

    Hi,
    I wrote a same j2ee web application. i'am using authentification through a realm configured in the web.xml.
    This web app is deployed in the same weblogic than obiee 11g. What i want to do is to embed my application in a dashboard using an iframe tag, and use the same login from analytics to my custom web app.
    In this article http://docs.oracle.com/cd/E11035_01/wls100/security/thin_client.html#wp1039551, it is said that by default, all web apps in the sames weblogic server are using the same cookie name so that they share authentification between them. However, i have read in the web that analytics in obiee 11g is using a cookie with the name "ORA_BIPS_NQID".
    In the weblogic.xml of my custom application, i set the cookie-name parameter to ORA_BIPS_NQID. However, in the dashbord, it still prompt for authentification to my custom web app.
    How can we share authentification between analytics and a custom web app in the same weblogic ?
    NB : I dont want to pass the username et password through the url.
    Thanks.

    By default, if you don't specify a cookie-name in the weblogic.xml configuration file, the weblogic server create a cookie named JSESSIONID for your application. For exemple, if two applications use the default configuration, both of them will use the same cookie name which is JSESSIONID. In this case, when you log in the first application, your are automaticaly logged in the second application with the same credentials. I have already test this kind of integration and it works perfectly. You only need that the two applications are deployed in the same weblogic server.
    Now, i want to have the same behaviour between obiee 11g and my custom application deployed in the same weblogic server. I read somewhere in the web that obiee 11g presentation service (analytics) is configured with a cookie-name value = "ORA_BIPS_NQID". So in the weblogic.xml configuration file of my web app, i specify a cookie-name value = "ORA_BIPS_NQID" to have the same cookie-name between the two application. But, it still not work. It prompt for authentification in the dashboards.
    I now, that such an integration is possible, because the other bi applications (mapviewer, bipublisher,...) are actually other web applications. However when using, for exemple, maps in dashbords, the mapviwer application automaticaly user the credentials of the user connected in analytics.

  • Question about multiple resource objects using the same OID target account

    In Oracle Identity Manager 11g with OID connector as a target system.
    Is it possible to create multiple resources that use the same OID IT Resource. Each resource is responsible for provisioning certain OID attributes of the same OID account. For example 'OID User' would provision the basic account and a separate resource called 'Department1 User' would provision attributes not provisioned by OID User.

    Yes, definitely. Here is how it would work:
    - You would have to make sure that the resource OID User always gets provisioned first, so that the account exist when these additional attributes are being set for the user via the other resource Department1 User. You can do this with Resource Dependency in OIM.
    - Now for using the same IT Resource, just create the new form and in the IT Resource type form field, map the properties to the same IT Resource Definition, so when the Provisioning Process gets invoked it uses the same IT Resource instead.
    Thanks
    SRS

  • Opening a web page in the same window ...

    Hi all,
    I wanted to open a web page in the same content area(window) and not in an external window . Could you tell me how its done ...
    Regards,
    Jayant.

    hi
    check out this link
    http://help.sap.com/saphelp_erp2005/helpdata/en/83/e7c24122e3c317e10000000a155106/content.htm
    create a exit plug as mentioned in link.
    in the action event handler of button gives this.
    public void onActionExitButton(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionExitButton(ServerEvent)
    String logoffURL="http://help.sap.com/saphelp_erp2005/helpdata/en/16/d3643fce8bb01ae10000000a114084/frameset.htm";
    wdThis.wdGetDynamicProgrammingInterfaceViewController().wdFirePlugToexit(logoffURL);
        //@@end
    hope this helps,
    Regards,
    Arun

  • When i clink a given link in google than that webpage open in another window. How i can open that page in the same tabe ?

    when i clink a given link in google search than that webpage open in another window. How i can open that page in the same tabe ?

    Hello gogotutu
    In the [https://support.mozilla.org/en-US/kb/awesome-bar-find-your-bookmarks-history-and-tabs#os=win7&browser=fx17 Location bar], type [http://kb.mozillazine.org/About:config about:config ]and press '''Enter'''.
    The about:config "This might void your warranty!" warning page may appear. Click I'll be careful, I promise!, to continue to the about:config page.
    In the Search field, type [http://kb.mozillazine.org/Browser.link.open_newwindow browser.link.open_newwindow]
    double-click and put as a value '''1''' , click OK to save it.
    do the same with '''browser.link.open_newwindow.override.external''' , again put '''1''' as a value(it is -1 by default).
    check also, always in about:config, the [http://kb.mozillazine.org/Browser.link.open_newwindow.restriction browser.link.open_newwindow.restriction] and put as value''' 0''' .
    thank you

  • My Itouch 3rd gen can't be recognize by my computer but when I put my iphone4 its can be recognize I use the same cable for both of them.

    My Itouch 3rd gen can't be recognize by my computer but when I put my iphone4 its can be recognize I use the same cable for both of them.

    Does it charge?
    - Reset the iOS device. Nothing will be lost      
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Inspect the dock connector on the iPod for bent or missing contacts, foreign material, corroded contacts, broken, missing or cracked plastic.
    - Make an appointment at the Genius Bar of an Apple store.
      Apple Retail Store - Genius Bar

  • Creating multiple tab reports using the same query in Web intelligence

    Hi All,
    I have created a Universe on a BW Query which has fields as below
    AGE  Depaatment  Gender  Grade
    25       FIN                M            A
    27       LES               F            A+
    60       SWS            M             A++
    Based on this data i have created a WEbi report which shows all of these data under one tab.
    Now i create a new report tab in the same Webi Document by right cliicking the existing report and going to inset report and saving it.
    Similarly i create two more new report tabs.
    in each of these tabs i want to show data only for the concened departments.ie =1st report contains all the departments.
    2nd report contains only finance data, third contains only Les data  and fourth only SWs Data.
    Is it possible to create this report using the same query?
    Regards,
    Raj.

    You should use report filters, not query filters.
    A query filter will affect the entire document. Every report tab that pulls data from that query will be impacted. If you start with a single report, by default it shows the data from the query. If you duplicate that report tab, then it's still attached to the first query. There are various ways to create report filters (input controls, quick filter, invoking the filter area from the toolbar) and a report filter impacts only blocks on that report tab. You can even create block filters by clicking on the block first, then creating your filter.
    This is a fairly confusing bit for folks that are new to Web Intelligence.

  • Can I have multiple Ipad airs using the same i tunes account?

    Can I have mutiple Ipad Air using the same I Tunes account?

    Yes. Are you also talking about them using the same Apple/iTunes/iCloud ID for signing on?
    GB

  • Add Multiple Detail Items Using the Same Query String Parameter

    I am using InfoPath 2010 and SharePoint 2010. 
    I have 2 forms libraries - Expense and Expense Details. 
    The 2 libraries are linked via a custom site column Expense ID. 
    The Expense form contains the main header type info you would typically find on an expense report; e.g., name, purpose, department, etc. 
    The Expense Details form contains multiple detail expenses related to the main expense report such as airfare, rental car, etc. 
    I have created a page that displays an expense report with all of the related expense detail items. 
    The page contains a link to add a new expense detail and passes the Expense ID of the Expense form to the Expense Detail form. 
    This all works fine.  The problem comes in after the first expense detail form is submitted. 
    I can successfully submit the first detail item.  However, the expense detail form loses the Expense ID that was passed to it after the first expense detail form has been submitted. 
    The parameter still shows in the URL but the detail form no longer shows the value of the parameter. 
    What do I need to do in order to be able to add multiple expense detail items using the same Expense ID that was passed to the form? 
    I have tried using a Submit Behavior of Open a new form, Close the form, and Leave the form open. 
    None of these options give me what I need.  Thanks for your help.
    pam

    Laura Rogers Blog
    In case anyone stumbles upon this looking for an answer. Laura Rogers has the answer found in the comments section of her blog above.  It’s not the best but it
    does work. You have to add an extra Info Path Web Form for it to work. I know, you can roll your eyes.<o:p></o:p>
    Steps.<o:p></o:p>
    1. Add Query String<o:p></o:p>
    2. Add the extra Info Path form to the page. This form will be a hidden on the page and will receive the value from the query string.<o:p></o:p>
    3. Add your original Info Path form and have it receive a parameter from the hidden Info Path form.<o:p></o:p>
    Now, when you hit save and it opens a new form the 3 Info Path form will function properly. <o:p></o:p>

  • Multiple presentation servers using the same RPD

    Hi everyone,
    So as most people know, the iPhone has a cool app that allows you to login and look at your OBIEE content. In theory it's really cool, but as it turns out, a lot of the cool graphs default to Flash and Flash is not supported by the iPhone.
    Using a flag in the instance config file, its possible to default all graphs to png's instead of Flash. But that causes all the interactive drillability to go away since it's just a flat picture.
    It seems that an elegant solution to this issue would be to have two presentation services running; one that defaults to Flash and one that defaults to png's. Then let the OC4J container determine if the device accessing the website is a mobile device or a full client browser. Mobile devices get routed to the png's and non-mobile devices go to the standard Flash page.
    Although not supported by Oracle, it is possible to setup multiple presentation services on the same server. In fact, RNM has a great blog about how to accomplish this (http://rnm1978.wordpress.com/2009/08/25/multiple-rpds-on-one-server-part-1-the-bi-server/).
    I was able to setup two presentation services (AnalyticsWeb and AnalyticsMobile) and point them at the same catalog folder. That way you don't have to duplicate you're work.
    The one thing I couldn't figure out how to do was to point them at the same RPD file. Ideally, we would have one rpd file with the master metadata definitions, and both presentation services would drive from that single RPD. However, the BI Server throws and error of the same RPD appears twice in the NQSConfig.ini file. I also created a shortcut to the master RPD, but upon startup, the BI Servers said that it was not a valid repository file.
    Worst case scenario, I could just use copy & paste to duplicate the single repository. And then each time I updated one, I would just need to delete the other and re-copy. But that seems a little tedious and I was hoping for a more elegant solution.
    Does anyone know how I could get the NQSConfig.ini to let me point to the same RPD twice? Is there some kind of symbolic link or image I could create?
    If it helps, I'm working with OBIEE 10.1.3.4 on a Windows Server 2003 environment with the OC4J standalone container.
    Thanks for the help!
    -Joe

    Hey Everyone,
    Just to add the finishing touch to this thread, the following can be implemented to perform the redirect based on mobile versus traditional PC devices.
    In the folder: C:\OracleBI\oc4j_bi\j2ee\home\default-web-app
    I created the following OBIEE.html file
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html lang="en,us">
    <HEAD>
    <TITLE>Test OBIEE Redirect Page<TITLE>
    </HEAD>
    <BODY>
    <script type="text/javascript">
    var agent = (navigator.userAgent).toLowerCase();
    var weburl = './analytics/';
    var moburl = './analyticsMobile/';
    var reg_exp = /(ipod|iphone|android|opera mini|blackberry|palm os|palm|hiptop|avantgo|plucker|xiino|blazer|elaine|windows ce; ppc;|windows ce; smartphone;|windows ce; iemobile|up.browser|up.link|mmp|symbian|smartphone|midp|wap|vodafone|o2|pocket|kindle|mobile|pda|psp|treo)/;
    if( reg_exp.test(agent) ) {
         window.location = moburl;
    else {
         window.location = weburl;
    </script>
    </BODY></HTML>
    The javascript gets the USER agent variable and does a regular expression match to see if it's any popular handheld device. If so, it redirects them to the mobile address. Otherwise the user is directed to the standard site.
    All I need to do is pass around the URL:
    http://localhost:9704/OBIEE.html (instead of the standard http://localhost:9704/analytics)
    And users will be dynamically sent to the correct location.
    thanks everyone!
    -Joe

  • Issue Loading Specific Web Pages Using the Airport Extreme Base Station

    I see that several other members have had this same issue - has anyone resolved their problem? Here is my issue:
    It all started when my wife tried to load her favorite Web page at http://hpana.com - the site now takes well over 5 minutes to load. This started some time after updating the recent security update 2007-009 Version 1.0 and shortly thereafter version 1.1. I have tried using the other Mac computers in the house, using the same wireless network and the same problem presents itself. I have tried loading the page using friend’s computers (Mac and PC, from out side my home) and the page loads within seconds. I have tried using Safari, IE and Firefox (at home), the problem remains. I contacted the hpana.com Webmaster and they have made no changes to their web site.
    I disconnected our cable modem, and connected the modem directly to the iMac (by passing the Apple Airport) and the page loads within seconds. I’m guessing it has something to do with the Airport Extreme.
    So, I contacted Apple Support. The issue was quickly elevated and eventually forwarded to the Airport Extreme Hardware guys – I expect to get an answer by Mid January 2008.
    I took a trip to the local Apple store and after explaining the situation, the store manger replaced the AirPort Extreme with the hope this would resolve the issue. After getting the “new” Airport Extreme up and running … the problem remained. This particular web site hpana.com still takes well over 5 minutes to load. I have no such issue with some of the other 60 or so sites I tried.
    I by passed the “new” Airport once again by connecting the cable modem directly to the iMac and, as before the web page loads within seconds.
    I’ll wait until I get a response from Apple come January, but I was wondering if anyone on the Forum would be willing to share their respective opinions.
    Thank You and Happy Holidays.

    Hi,
    There are some differences between the configuration of Airport equipment sold in different countries, however this is likely to not be the cause of your system's issues. ( See this document for details on that - http://docs.info.apple.com/article.html?artnum=58567 )
    Hong Kong has a very high density of population, especially compared to Australia.. I suspect your wifi signal is probably getting interference from your neighbours wifi, phones and microwaves. There's not much you can do about this, except getting an external antenna for the AEBS and trying to drown them out with it.

Maybe you are looking for

  • Oraenv doesn't seem to work

    Version : 11.2.0.3 Platform : Oracle Linux 6.3 oraenv doesn't seem to work as shown below. I haven't set ORACLE_SID in the .bash_profile as this server is going to have multiple DBs in future. So, I need to use oraenv script to set env variables. Try

  • Table of Contents pdf export issues

    I create large documents that are exported as pdfs and viewed by users on PCs and Macs. I recently discovered a problem with pdfs created from InDesign, CS4 (viewed on a PC only) where the ToC "hangs up" and will not scroll. The longer the ToC, the l

  • Using My av adapter I get no picture but I get sound to my tv

    I was watching netflixsat night using av adapter he I to tv. Everything worked fine, and then on sun morn no picture.

  • Upload an image in table item

    Hi everyone I'm just a noob with ADDT, i found it just a couple of days ago, and started to practicing a lot. Here's my question: Ho can i do this? imagine this add-form in the backend, title: picture 1: text: date: Well, about this form, i can make

  • HID USB Writepipe failing in 64 bit Lion

    Hi, I'm using writepipe for data transfer to my custom HID device on USB.  When I build the app in Xcodeon OSX Lion and boot my Mac in 32 bit mode then the HID data transfer with writepipe works fine.  But when I boot my Mac in 64 bit mode and run my