1 Reply Latest reply: Aug 1, 2012 3:25 AM by 804328 RSS

    Steps to create a cookieless domain in Weblogic

    903795
      Hi,

      I want to create a cookieless domain, to serve all the static contents like CSS,JS and images for my site to enhance it's performance. Could someone please let me know steps involved to set up a cookieless domain in Weblogic.

      Thanks in advance for yours assistance.

      Regards,

      NM
        • 1. Re: Steps to create a cookieless domain in Weblogic
          804328
          Generally session stickiness and failover are two important features provided by application server to manage your sessions effectively.This can be achieved either through cookies or url re-writing.

          For individual applications using servlets,you could disable cookies from the deployment descriptors.

          However,for your specific case,you may want to disable the cookies on your browser if you wish to access the static file directly.

          if you have a jsp or servlet which makes a call to static files ona nother server,then i think what you could do is create a war module with all the static images and disable cookies in the weblogic.xml file by setting cookies-enabled to false.

          -Sandeep