Jsp, jrun and cookies

I have i problem with ie6 and cookies
We have a web server with jrun3.1 and database server sqlserver2000.
For ie6, session variable is like a cookies and block it...
When i use services from Web site "A" by using a frameset (or portal) on Web site "B", cookies that Web site A tries to set may be blocked at the default medium privacy level.
The only way to solve this problem is to force the user to set your privacy level to low or to accept all cookies
Is there any solution to solve this problem?
Thanks for your answer.
Pascal

For ie6, session variable is like a cookies and block it...Not true at all. The session variable can be used just fine in IE6.
I'm running the exact same setup as you, and I have never had any problems with accepting cookies on the default Medium privacy level, but a quick glimpse at the privacy settings shows...
--Blocks third party cookies that do not have a compact privacy.
--Blocks third party cookies that use personally identifiable information without your explicit consent.
Your cookies need to either fit these restrictions, or else they will be blocked at this security setting. Setting it to low will allow the cookies, but the user will be prompted each time one is attempted to be saved.
If you're attempting to access the session variable from one web server in another, you're opening up a whole new can of worms, since the session is much more than just a cookie stored on the client.

Similar Messages

  • I'm trying to run a .jsp page and all I get is the following error. Thoughts?

    Running Coldfusion 8 / JRun 4 updater 7 / Coldfusion 8 hotfix
    2.
    I'm trying to run a .jsp page and all I get is the following
    error. Thoughts?
    Could not invoke Java compiler, please make sure jikesw is in
    I:\JRun4/bin or put a JDK bin directory in your path.
    jrunx.compiler.JavaCompiler$NoCompilerFoundException: Could
    not invoke Java compiler, please make sure jikesw is in
    I:\JRun4/bin or put a JDK bin directory in your path.
    at
    jrunx.compiler.JavaCompiler.outProcessCompile(JavaCompiler.java:474)
    at
    jrunx.compiler.JavaCompiler.compile(JavaCompiler.java:132)
    at
    jrunx.compiler.JavaCompiler.compile(JavaCompiler.java:100)
    at jrun.jsp.Translator.compilePage(Translator.java:176)
    at jrun.jsp.Translator.translate(Translator.java:254)
    at jrun.jsp.Translator.translate(Translator.java:101)
    at jrun.jsp.JSPEngine.translateJSP(JSPEngine.java:707)
    at jrun.jsp.JSPServlet.translate(JSPServlet.java:125)
    at jrun.jsp.JSPServlet.service(JSPServlet.java:113)
    at
    jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
    at
    jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at
    jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)
    at
    jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
    at
    jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
    at
    jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

    You're right, that ws another fix I tried. There is no fix fo
    rthe issue described, but it still seems like an old issue. My
    class paths are short. Here is my jvm.config (pretty standard):
    # VM configuration
    # Where to find JVM, if {java.home}/jre exists then that JVM
    is used
    # if not then it must be the path to the JRE itself
    java.home=I:/JRun4/jre
    # If no java.home is specified a VM is located by looking in
    these places in this
    # order:
    # 1) bin directory for java.dll (windows) or
    lib/<ARCH>/libjava.so (unix)
    # 2) ../jre
    # 3) registry (windows only)
    # 4) JAVA_HOME env var plus jre (ie $JAVA_HOME/jre)
    # Arguments to VM
    java.args=-server -Xmx1000m -Dsun.io.useCanonCaches=false
    -XX:MaxPermSize=256m -XX:+UseParallelGC
    -Dcoldfusion.rootDir={application.home}/
    # commas will be converted to platform specific separator and
    the result will be passed
    # as -Djava.ext.dirs= to the VM
    java.ext.dirs={jre.home}/lib/ext
    # where to find shared libraries
    java.library.path={application.home}/lib,{application.home}/servers/cfusion/cfusion-ear/cf usion-war/WEB-INF/cfusion/lib,{application.home}/servers/cfusion/cfusion-ear/cfusion-war/W EB-INF/cfusion/jintegra/bin,{application.home}/servers/cfusion/cfusion-ear/cfusion-war/WEB -INF/cfusion/jintegra/bin/international
    system.path.first=false
    # set the current working directory - useful for Windows to
    control
    # the default search path used when loading DLLs since it
    comes
    # before system directory, windows directory and PATH
    java.user.dir={application.home}/../lib
    # JVM classpath
    java.class.path={application.home}/servers/lib,{application.home}/lib

  • Tomcat and Jrun and get the same error.

    Hello freinds,
    iam facing problem with this.
    It cant able to find Enumeration although it finds Vector which is in the same package as Enumeration. but i tried its running this on both tomcat and Jrun and get the same error.
    <HTML>
    <HEAD><TITLE> Example use of Vectors </TITLE></HEAD>
    <BODY>
    <%! String name = new String("Jonh Doe");
    Integer ssn = new Integer(111223333);
    Double salary = new Double(65432.10);
    Vector employee = new Vector();
    String[] infoTitles = {"Name", "SSN", "Salary"};
    %>
    <% employee.addElement(name);
    employee.addElement(ssn);
    employee.addElement(salary);
    int i = 0;
    Enumeration employeeInfo = employee.elements();
    //while(employeeInfo.hasMoreElements()){ %>
    <P> Employee <%//= infoTitles[i++] %>: <%//= (Object)employeeInfo.nextElement() %>
    <% // } %>
    </BODY>
    </HTML>
    org.apache.jasper.JasperException: Unable to compile class for JSPC:\Tomcat\Binary\work\localhost_8080%2Fexamples\_0002fjsp_0002fmyJSPs_0002fhour_00037_0002fusingEnumerations_0002ejspusingEnumerations_jsp_18.java:75: Class
    jsp.myJSPs.hour_00037.Enumeration not found.
    Enumeration employeeInfo = employee.elements();
    can any body help me
    todd

    Hi toddyj,
    problem in the code is you havent imported the package
    here iam giving below you my tested code..
    <HTML>
    <HEAD><TITLE> Example use of Vectors </TITLE></HEAD>
    <BODY>
    <%@ page language="java" import="packagename.*" %>
    <%! String name = new String("Jonh Doe");
    Integer ssn = new Integer(111223333);
    Double salary = new Double(65432.10);
    Vector employee = new Vector();
    String[] infoTitles = {"Name", "SSN", "Salary"};
    %>
    <% employee.addElement(name);
    employee.addElement(ssn);
    employee.addElement(salary);
    int i = 0;
    Enumeration employeeInfo = employee.elements();
    //while(employeeInfo.hasMoreElements()){ %>
    <P> Employee <%//= infoTitles[i++] %>: <%//= (Object)employeeInfo.nextElement() %>
    <% // } %>
    </BODY>
    </HTML>
    I hope by this import reason your not able to find Enumeration
    Regards,
    TirumalaRao
    Developer Technical support,
    Sun MicroSystem, India.

  • JRun and JWS

    Running my JNLP as a JSP under JRun, I put a block of Java code (<% code $>) in my "JNLP-as-JSP" file and noticed it is getting called 7-8 times before the applet (inside the JNLP-as-JSP file) is shown. Is JWS executing the JNLP-as-JSP file multiple times or is JRun somehow doing this?

    I get the same problem running JWS with a Tomcat 4.0 server. I noticed the problem when we tried to pass URL paramaters to the "JNLP-as-JSP" file. The first time, the parameters are there and we try to set properties using those parameters. However, the second, third, fourth... times the JSP file is called, the paramters are not there. Therefore, the last time it is called (which is the 8th time for us), the URL parameters are missing, the properties are not set, and the client ends up getting none of the properties we try to pass.
    Not sure why this happens, but if you change
    href="http://xxxx/xxxx"
    with
    href=""
    in the JNLP/JSP file, it only gets called once. However, your application no longer appears on the JWS console (and it never asks to create a shortcut on the desktop).
    I'm guessing it gets called multiple times because of some function of the cache manager.
    If you figure out why, and/or how to fix the problem, let me know.
    Thanks,
    -Rob

  • Jrun and weblogic

    hello there,
    we are using an a little bit complicated architecture, where Jrun is
    used as a web- and jsp-server, weblogic (4.51) for deploying our ejb´s.
    It worked quite well, but without knowing, what has changed, we got
    communication problems between jrun and weblogic: jrun is running
    correctly and the ejb´s are available for console-clients, but the
    jsp-clients for the ejb´s from jrun usually don`t work or work much too
    slowly. in weblogics logfile we find messages like this:
    Fri Jan 28 22:06:55 GMT+01:00 2000:<E> <RJVM> Ignoring message from a
    previous generation: JVMMessage from 4936233558364828391C192.168.0.11 to
    -2140207893869841879C192.168.0.11 with CMD_REQUEST, prtNum=6, ack=49,
    seqNum=51
    anybody has any idea?
    thanks moritz

    I forgot to say that this plugin lets you use apache as a front-end to the app server. You don't need to have several servers, not even have load balancing, just one apache with an application server is enough.
    Regards,
    Juan

  • Safari 5.1, OS 10.6.8 and cookie controls

    Ok, I know there are numerous threads here in the Mac Safari forum regarding the issue of Safari 5.1 and cookie control. I just thought I would start my own thread instead of continuing on something else.
    I am using Safari 5.1 and 10.6.8. I waited for a bit to update to 5.1 (did it this week), giving it since its debut on July 20th. I too am experiencing the lack of cookie controls. The three settings that exists do not seem to do what they say except that they always allow cookies.  To update from Safari 505, I downloaded the installer from Apple downloads instead of using SU function. 
    Has anyone read something that Apple knows of this issue? 
    Since installing Safari 5.1, I have done the last security update as well.
    I remember reading that reinstalling the 1.1 version of the 10.6.8 combo would replace Safari 5.1 with 505. But, has anyone tried that? Will Safari 5.1 show up in software update as well as the last security update? I am wondering if I reapply that combo if it will undo the last security fix as well (since I am assuming software update will still see the receipt for the previous ones and not call for them to be redone).
    If all cookies are coming through, isn't this a serious bug?  I have been resetting safari often to wipe them out, but they reoccur switftly.  I have to MBP's and am seeing the same behaviour on both.

    I'd use that terminal command - takes seconds (and a restart) + no download. But otherwise yes - the 10.6.8 v1.1 then the update & anything else software update picks up (not safari, obviously )
    Some people happily get a copy of just the safari 5.0.5 application & use that, since apparently it works, although I'm not sure what cookie function you'll get (easy enough to see). You'd use Pacifist to extract it from the 5.0.5 installer package, or grab it from a backup.
    Although you'd hope software update would catch the security change - I'm not sure if the combo would overwrite the new or not... on the one hand, it's newer, but on the other, it sure over-wrote safari 5.1 when i checked it... so better to be sure, I haven't checked since that update.
    If you look at the files in /System/Library/Keychains/ afterwards - if EVRoots.plist, SystemRootCertificates.keychain, and SystemTrustSettings.plist are all dated 23 April 2011, the combo rolled them back - if they're later... it didn't.
    Apple do know, since bug reports come back as 'duplicate of...' - but  there's no public info to my knowledge.
    How much of a security issue is this? Should I worry about it, or just leave it until they update to fix?
    more privacy than real security, I'd say - although there are add-ons to manage cookies.

  • What is the difference between jsp :include and server side include

    what is the difference between jsp :include and server side include(request dispatcher include method)????
    i understand that both request dispatcher include method and jsp:include take dynamic data,so when would one use request dispatcher include and when jsp:include.
    Is the usage interchangeable?i believe jsp include is used only for jsp/html but include directive can be used to include servlets ,jsp and html....correct me if i m wrong and
    do suggest if u hav ny other diff in this context...

    The difference really is: in what format do you want your inclusions? If your environment has many Java developers and only a few designers that focus mainly on, say, Flash, that might push you more towards the server-side include() directive. Or, if you have a large set of pages that receive dynamic content that is displayed in a consistent fashion (such as a workflow header area on a page).
    If, on the other hand, you have more web designers, there may be a greater desire to deal in markup rather than Java code. Java developers themselves might prefer to view markup (JSP) that more resembles the eventual output than something occuring in Java code.
    Finally, there are considerations of tiering. While it is totally possible to (and I have previously) implement 'view classes' that render markup or generate layout templates, JSP's offer, IMO, a subtle, psychological advantage. By forcing a developer to work in a different format, markup versus Java source, the separation on view from controller and model becomes a bit easier. It is still possible to make mistakes, but if a developer at some point notices, "Wait, I'm in a JSP, should I be importing a java.sql class?", then the choice to use JSP includes has paid off in spades.
    - Saish

  • I can not view ANY videos on Vimeo, I have 'reset' the Ipad, original IOS 5, cleared the history and cookies, I have changed the DNS number to 8.8.8.8, I have worked on this for 2 days and still can't find a fix, HELP!!

    I can not view ANY videos on Vimeo, I have 'reset' the Ipad, original IOS 5, cleared the history and cookies, I haves changed the DNs number to 8.8.8.8, I have worked on this for 3 days now, HELP!!!!

    Try a reset: Simultaneously hold down the Home and On buttons until the device shuts down. Ignore the off slider if it appears. Once shut down is complete, if it doesn't restart on it own, turn the device back on using the On button. In some cases it also helps to double click the Home button and close all apps BEFORE doing the reset.

  • How do I get Firefox to show the proper font and layout of a site when it keeps loading an older version of that site? (I have cleared cache and cookies already)

    We are having a new website developed and my designer has made changes to it. Despite clearing the cache and cookies, the fonts are not showing up as the actual fonts. Also, the form fields at the bottom are extending beyond the border on the right side of the box on my screen, but this does not happen for other people using Firefox - it is only on my computer.
    I AM ON A MAC.
    I received a suggestion to reload the page and bypass the cache with:
    * Press "Cmd + Shift + R" (MAC)
    BUT - this did not work.

    You can reload the page and bypass the cache with:
    * Press and hold Shift and left-click the Reload button.
    * Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    * Press "Cmd + Shift + R" (MAC)
    See [[Keyboard shortcuts]] and [[Mouse shortcuts]]

  • How do I clear cache and cookies on my ipad

    How do I clear cache and cookies on my ipad?  I was told to do this when I was trying to download ebooks to ibooks and kindle

    Settings/safari/clear history;clear cookies and data

  • How can I stop the execution on a JSP page and start it again

    Hi
    I am making a program that simulates how to manage transactions when accessing a database by using locks. I have run into a problem and I hope someone has the time to help me.
    When a user does an update the transaction commits and releases its locks when the program executes
    <%stmt.executeUpdate("commit!"); %>
    I need to put a break in to stop the program executing this statement, to illustrate the lock is set correctly.
    I have tried to put in an alert box but this does not prevent the rest of the java code being executed.
    I have tried to use prompt boxes, JavaScript functions, but these functions cannot have any java code in them.
    I have tried using the java.swing JOptionPane boxes but this didn?t work either
    I have tried to get input from the user but I don?t know how to retrieve this data on the same page. (As far as I know you have to use submit and even refresh the page or retrieve it on the next page).
    Does anyone know how I can stop the execution on a JSP page and start it again (on same page)
    Mette

    I already have another client (Tomcat jsp application) running and it throws a SQLException correctly when I don�t put in a commit=true statement and don't close the database connection.
    But the problem is how to get the code above to stop to illustrate I have set this lock.
    I have tried to use the JOptionPane but because my program is running in a web browser I cannot use the JOptionPane dialog box.
    I have tired using an alert box but it executes the commit statement before the alert box is dispayed. So this does not work
    While (i < 2)
    if( i==1)
    %>alert(�The transactions commits when you press Ok�); <% //what it to stop execution here
    else
    stmt.executeUpdate(�commit�);
    I am not using threads so I cannot use the sleep function.
    I am using mysql and have already configured it to detect deadlocks and how long to wait for locks.
    Thanks for your help
    Mette

  • In IOS 7 some web pop ups freeze, I can only resume safari if I delete data and cookies from the safari settings

    I recently installed IOS 7 and I getting used to the new feel.  However, I have encounted a problem at least three times now.  If I am shopping and a web message pops up, such as "you must select size before quantity" or "you have exceeded the number of items" there is a box that displays "ok" for you to acknowledge the mistake and continue.  In IOS 7, the pop ups freeze, I am not able to click "ok" and make the dialog box go away.  My only solution so far is to go to settings -- safari-- clear data and cookies.  Any help or insight would be appreciated!

    My iPad also experiences this.

  • Same thing is happening to me. Adobe has not responded to anyone about this error. It appears that Abobe XI is not compatible with IE 11.  I do not get this error when I use Chrome or Firefox. Only IE 11 does this. I have tried clearing cache and cookies.

    Same thing is happening to me. Adobe has not responded to anyone about this error. It appears that Abobe XI is not compatible with IE 11.  I do not get this error when I use Chrome or Firefox. Only IE 11 does this. I have tried clearing cache and cookies. I even uninstalled and re-installed IE 11. It is still doing it.  I am surprized that a company like Adobe would just ignore our posts and leave us hanging this this.
    Error message is FAILED TO GET DISPATCH FROM IBRWSR2.  Then when you click on it the next error message says:  PHTML IS NULL. You have to click this error message twice and then the PDF finally loads. Happened every time
    Does anyone have a solution since Adobe will not respond?
    As a last resort I will try uninstalling the Adobe Reader XI and install Adobe Reader 10 instead. It seems to work ok. But when I try to install version 10 the Adobe site tries to install XI.  Any ideas?
    JimP08758

    It worked just fine for me.
    Many site issues can be caused by corrupt cookies or cache.
    * Clear the Cache and
    * Remove Cookies '''''Warning ! ! '' This will log you out of sites you're logged in to.'''
    Type '''about:preferences'''<Enter> in the address bar.
    * '''Cookies;''' Select '''Privacy.''' Under '''History,''' select Firefox will '''Use Custom Settings.''' Press the button on the right side called '''Show Cookies.''' Use the search bar to look for the site. Note; There may be more than one entry. Remove '''All''' of them.
    * '''Cache;''' Select '''Advanced > Network.''' Across from '''Cached Web Content,''' Press '''Clear Now.'''
    If there is still a problem,
    '''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Start Firefox in Safe Mode]''' {web link}
    While you are in safe mode;
    Type '''about:preferences#advanced'''<Enter> in the address bar.
    Under '''Advanced,''' Select '''General.'''
    Look for and turn off '''Use Hardware Acceleration'''.
    Poke around safe web sites. Are there any problems?
    Then restart.

  • I have an IPone 4, there is an add video for Capital one that keeps coming up on its own... ive deleted my history and cookies and this video keeps taking over my phone. how do i get rid of it? the video is of a man with a puppet and the puppet is singing

    i have an IPone 4, there is an add video for Capital one that keeps coming up on its own... ive deleted my history and cookies and this video keeps taking over my phone. how do i get rid of it? the video is of a man with a puppet and the puppet is singing a song while he is checking his phone. how do i get rid of it????

    If it happens again the make sure that you aren't suppressing website colors.
    Make sure that you allow pages to choose their colors and that you haven't enabled High Contrast in the Accessibility settings.
    *Tools > Options > Content : Fonts & Colors > Colors : [X] "Allow pages to choose their own colors, instead of my selections above"
    *https://support.mozilla.org/kb/Options+window+-+Content+panel
    *http://kb.mozillazine.org/Website_colors_are_wrong
    *http://kb.mozillazine.org/Websites_look_wrong

  • My desktop computer crashed and I purchased a new laptop. I was able to salvage the hard drive and files. Can I pull my bookmarks and cookies from the old hard drive and install them on the new computer with FireFox installed?

    I have saved the entire contents of the failing hard drive on an external hard drive. I need to know where the bookmarks and cookie files are loacated and where they need to go on the new system.
    Thank You

    http://support.mozilla.com/en-US/kb/Recovering+important+data+from+an+old+profile
    Your old Profile is located here in Vista & Win7: <br />
    ''drive'':\Users\''Windows login user name''\AppData\Roaming\Mozilla\Firefox\Profiles\''profile_name''

Maybe you are looking for