Problem Changing session cookie name

Hi,
I am running Weblogic 5.1 service sp 6
I attempted to change the name of the weblogic
session cookie by modifying the following
parameter in weblogic.properties
weblogic.httpd.session.cookie.name=MyCookie
I also noticed that even if I hust uncomment the line
weblogic.httpd.session.cookie.name=WebLogicSession
my application seems to timeout within a few minutes.
However, when I do this I noticed that my session times out within 5
minutes.
I have my timeout set with
weblogic.httpd.session.timeoutSecs=14400
Thanks,
Bill

I have 2 diff app on one app server. If I change it for the app server, it will be applied to all applications that are running on this server. Right?
In the servlet specification is written :
The name of the session tracking cookie must be JSESSIONID.
My question is : Is there is a possible workaround to change session coockie name on application level, not on app server level?

Similar Messages

  • Change JSESSIONID Cookie Name

    Can anyone provide a means for changing the JSESSIONID cookie name in IWS 6 to something else?
    I can not locate a mechanism for doing this anywhere.

    Thankyou Sultal for the response.
    Actually we are migrating the application server from Weblogic5.1 to Sun application server 8.2. The client is a mobile client and it sends the Cookie as 'JSESSIONID=session_id_val&WeblogicSession=session_id_val' as parameters, not as request header.It worked fine for Weblogic5.1 but not in Sun Application Server.
    To make it clear :
    Weblogic           :     request.getsession(false) = sessionObj@value
    Sun Application Server      :     request.getsession(false) = null
    Sun Application Server      :     request.getParameter("JSESSIONID") = session_id_val
    In the Weblogic5.1 we have set the cookie & session parameters in the weblogic.properties file as:
    weblogic.httpd.session.cookies.enable=true
    weblogic.httpd.session.cookie.name=WebLogicSession
    weblogic.httpd.session.neverReadPostData=false
    weblogic.httpd.session.timeoutSecs=120
    In case of Sun application server , JSESSIONID is not coming as a cookie , request.getsession(false) is returning null value.Is there a way to initialize the session with JSESSIONID request parameter?

  • Configuring Session Cookie Name in Portal DAD

    I have some questions about the proper way to specify the Session Cookie Name (PlsqlSessionCookieName) in the Portal DAD.
    Here's a description of the environment: There are 2 portal servers (portal1, portal2) and 2 infrastructure servers (infra1, infra2). portal1 is tied directly to infra1, and portal2 is tied to infra2. A hardware load-balancer directs traffic from a URL "www.companyname.com" to either portal1 or portal2. The infrastructure databases are kept in synch via a nightly export/import. There is no clustering.
    What should I set the Session Cookie Names to in the Portal DADs? Should they be left blank and thus default to the DAD name? If not, should they be set to identical (both to "portal") or unique values ("portal1" and "portal2")?
    I have read the dads.README file, the notes in the Edit DAD page in Enterprise Manager, and some other documentation and I am confused as to the proper settings.
    Thanks!
    Brian

    It looks like distinct session cookie names are needed.
    Please refer to Oracle HTTP Server Administrator's Guide 10g Release 2 (10.1.2), Section 8 Understanding Modules. Seach for PlsqlSessionCookieName.

  • Air + Ipad + RemoteObject problem with session cookies

    I am making Air version for IPad of a Flex application.
    My flex application needs session from an secured enterprise proxy, without that session none remoteObject requests can pass the proxy and reach blazeDS.
    My solution for flex works fine: calling an enterprise  servlet at application´s startup to obtain a cookie session. I use a POST call to the servlet using URLRequest (sending the user and password parameters), the servlet responds with  a message with a session cookie, and from that point, without me having to code anything more, my flex application get that cookie with the session that automatically is loaded in my browser cookie stack, and that transparently is used from all my subsequents remoteObjects calls in the flex application.
    In my Adobe Air Ipad version, this just does not work, the session or is not storaged or is not attached with subsequent remoteObjects requests.
    - I´m forcing request.manageCookies = true
    - I´m working with the IOS simulator (Is there any difference for cookies with a real Ipad device?)
    - I´m using Flex 4.6.0, Air 3.5, IOS 6, Ipad 3, BlazeDS 4.0, Java 6 BackEnd.
    .. What´s the problem/difference with Air+Ipad from the flex version?

    Hi BalusC ,
    Thanks for your detailed response. I have a question about this comment you noted..
    "Terrible. Just keep the bean request scoped. "
    I changed the bean to request and now have this issue.
                <rich:dataGrid id="membersInZipcode" value="#{membersInZipcode.arrayListOfSearch4Member}"
                            var="membersInZipcode" columns="5" elements="20">                       
                <f:facet name="footer">
                    <rich:datascroller></rich:datascroller>
                </f:facet>
            </rich:dataGrid>
            </h:form>  I am using a request bean to hold the search parms that loads the bean. This works great.
    The problem is when I use the rich:datascroller for the next page.
    It goes back to the bean and the request scope bean is empty. This holds the search values.
    How do I put this back into the request after each process??
    Question 2..
    "Those settings only applies on the current request, i.e. the JSP file itself. Images are obtained by separate and independent requests. You need to set the headers on those requests as well. You can use a filter for this."
    I have never set a filter ...how do I do it? Do you have a link for an example of this filter setup?
    Thanks Again
    Phil

  • Problems changing a iview name programmatically

    hi people
    im trying to change a iview name programmatically but the application give a exception: java.lang.NoClassDefFoundError: com/sapportals/portal/pcd/pl/PlLocaleTextPair
    This class is just the class that i need for get the name and for change the name, i have this class in the jar com.sap.portal.pcmbuilderservice_api.jar located in my classpath...
    my actual test code is the next:
                   PlLocaleTextPair newName=(PlLocaleTextPair)name.get(0);
                   PlLocaleTextPair newNameEn=(PlLocaleTextPair)name.get(1);          
                   PlLocaleTextPair newNameEs=(PlLocaleTextPair)name.get(2);               
                   newName.setText("newName");
                   newNameEs.setText("newNameEs");
                   newNameEn.setText("newNameEn");
                   name.set(0,newName);
                   name.set(1,newNameEn);
                   name.set(2,newNameEs);
    someone can help me??
    thank you

    Hi Ismael,
    Can you try using a PCD Inspector to do the same.
    The name of the iview is stored using the property com.sap.portal.pcm.Title. You need to change the name in this property. Remember to update the name with the right locale i.e. the locale which is set for the Portal.
    http://help.sap.com/saphelp_nw70/helpdata/EN/47/a4a442dc030e31e10000000a1550b0/content.htm
    I am not too sure about the coding part.
    Thanks,
    Nikhil

  • Change session ID cookie name

    Is there a way in Tomcat to change the cookie name for the session ID at the application or the server level? Instead of having JSESSIONID, to change it to something else. If 2 Tomcat servers are running on the same machine and the user goes between the 2 servers in the same browser window (process), then the ID from Tomcat A's session gets overwritten with Tomcat B's session ID, so the original A session is lost when going back to A after having been at B.

    URL rewriting and session cookies are two mutually exclusive ways of identifying the user.
    What you want to do is find the current session of the user and use that one instead of creating a new session each time the user changes machines. This is a bit of a problem because each Tomcat server keeps a separate list of SessionIDs to compare to the user's SessionID.
    You can kind of get around this problem by having the first server create a cookie that is visible to the entire domain, and then each server can fetch that particular cookie rather than looking for an explicit SessionID. For example...
    Cookie cookie = new Cookie( "bsampieri.com", getUniqueString() );
    cookie.setDomain( ".bsampieri.com" );
    cookie.setMaxAge( -1 );
    response.addCookie( cookie );And then each server checks for a cookie called "bsampieri.com", gets the identification string from that, and compares it with your list of "valid users" or shopping cart or whatever.

  • Changing cookie name in Identity Server hangs login

    I changed the cookie name under AMConfig.properties to something other than iPlanetDirectoryPro. After restarting Portal 6.0, the login just loops. It seems to be hung -- but don't know the reason.
    Has anyone experienced this -- or could someone try this out real quick and see if they have the same problem?
    The file I changed was /opt/SUNWam/lib/AMConfig.properties. The line is com.iplanet.am.cookie.name=iPlanetDirectoryPro
    Just change it to com.iplanet.am.cookie.name=iPlanetDirectoryPro1
    Do I need to change anything else for the login to work? Any insight would help.
    John

    You also need to change the comment name in the tooll and then 'use as
    default' option ....
    Jon

  • Problem changing AppleID Name

    Hello,
    I am having problems changing my AppleID name. On Apple ID summary, it shows my moms name. Before I was 18 the billing information was under her name. Now I have changed it to my information. When I go to "Account Details" it shows my information, but when I go back to Apple ID summary, it still showers her name. How do i fix this or who can I talk to, to get this changed?
    thanks

    There is no an easier solution?
    Thank you !

  • Cookie name in 5.1 SP8

    Can anyone confirm that the session cookie naming has changed in SP8 -
              we're seeing a cookie called WeblogicSession-VBS which used to just be
              called WeblogicSession. Our web application has a context name of
              "VBS"...
              No one has changed the cookie name setting in the weblogic.properties
              file so it's not that...
              Cheers,
              -Dominic
              

    Yes.
              Now the format is [WebLogicSession]-[WebAppName]
              I think this fix has introduced some other problems in a clustered
              environment.
              In the next Service Pack you will have a single sign-on for webapp's and
              the cookie format
              will again reverts back to WebLogicSession or whatever you specify in the
              properties file.
              Kumar
              Dominic Tulley wrote:
              > Can anyone confirm that the session cookie naming has changed in SP8 -
              > we're seeing a cookie called WeblogicSession-VBS which used to just be
              > called WeblogicSession. Our web application has a context name of
              > "VBS"...
              >
              > No one has changed the cookie name setting in the weblogic.properties
              > file so it's not that...
              >
              > Cheers,
              >
              > -Dominic
              

  • Cookie Name

    I have a lot applications in WLS 7, and the CookieName isn't seted, so, weblogic assigns the default name for the generated cookies, this situation cause that the applications lost the sessions.
              For to resolve this problem, I has added in the weblogic.xml file the following instructions:
              <session-descriptor>
              <session-param>
              <param-name>CookieName</param-name>
              <param-value>HubControl_JSESSIONID</param-value>
              </session-param>
              </session-descriptor>
              so, each application have her own cookieName, but (here is the problem)
              With this configuration cause the following problem:
              In my application I have the sentences:
              xmlReply = api.SendAndReceive(xmlQuery);
              and when the XML is generated:
              HttpSession ses = request.getSession();
              ses.setAttribute("xmlReply", xmlReply);
              After that, in other JSP page the XML is taked and parsed:
              String xmlReplyExt = request.getParameter("xmlReply");
              InputSource source = new InputSource(new StringReader(xmlReply));
              DOMParser parser = new DOMParser();
              parser.parse(source);
              Document doc = parser.getDocument();
              Finally, in this step the application throw a paser exception by:
              Error: “The element type "FldDelim" must be terminated by the matching end-tag”
              And if I look into my XML:
              <InformationDesc>Recuperacion de arbol</InformationDesc>
              <FldDelim>;HubControl_JSESSIONID=D8hTJ06fV8yWwltkwdh1LdGpgGh45TXZXlRq2J6TdQ2sMph3K3Gh!1691281523?Tipo=RSS; ;01-01-1900 00:00:00; ;0;;;1;1;1;1;1;1;1;1</Rows>
              <Rows>2;Booking ;2;BK_SATO ;15;BK_SATO_SB ;Sales Briefing;1;H;HTTP ;1;23-03-2013 17:30:48;-1;/booking/administration/briefSale1.jsp; ;01-01-1900 00:00:00;1.00.0000 ;0;;;1;1;1;1;1;1;1;1</Rows>
              And the Tag FldDelim is not closed (this cause the exception).
              The question is:
              Why Weblogic Server 7 put in my XML the cookie session name and not close the XML?
              Why weblogic re-write my XML?

    Yes.
              Now the format is [WebLogicSession]-[WebAppName]
              I think this fix has introduced some other problems in a clustered
              environment.
              In the next Service Pack you will have a single sign-on for webapp's and
              the cookie format
              will again reverts back to WebLogicSession or whatever you specify in the
              properties file.
              Kumar
              Dominic Tulley wrote:
              > Can anyone confirm that the session cookie naming has changed in SP8 -
              > we're seeing a cookie called WeblogicSession-VBS which used to just be
              > called WeblogicSession. Our web application has a context name of
              > "VBS"...
              >
              > No one has changed the cookie name setting in the weblogic.properties
              > file so it's not that...
              >
              > Cheers,
              >
              > -Dominic
              

  • Change session tracking cookie name

    Hello,
    Is there a way to change the default JSESSIONID cookie name to some thing different for session tracking? I've searched around but have not found anything on this subject.
    Thanks.

    Are the web applications deployed at '/' on each server or are they deployed using unique context paths such as /app1, /app2 etc?
    Which of the following represents how you access each app through the reverse proxy server?
    a) http://app1.foo.com/
    http://app2.foo.com/
    where app1.foo.com, app2.foo.com all map to the proxy server which then reverse proxies each URL to the corresponding backend server/app
    or
    b) http://foo.com/app1
    http://foo.com/app2
    where foo.com maps to the proxy server and the proxy server reverse proxies /app1 to one server, /app2 to another and so on

  • I have a problem with mail autofilling info email addresses. Emails sent to me the from looks like this: Holiday in the United States email address . I have no idea what this Holiday in the United States is...How can I fix/change to my name?

    I have an irritating problem with mail autofilling info in email addresses. Emails sent to me the from looks like this: Holiday in the United States <my email address>. I have no idea what this Holiday in the United States is or how it got to be there...How can I fix/change to my name?
    I fixed the To: autofilling incorrectly by deleting my email address from the Previous Recipients List, but is there a way to stop that from coming up on emails that I receive?

    Have you checked your Mac address book? If your email is saved somewhere in your address book with the name "Holidays in the United States" it might be adding the name automatically in Mac Mail.
    Alternatively, try this:
    Delete an Email Address from Auto-Complete in Mac OS X Mail
    To remove an email address from the auto-complete list in Mac OS X Mail:
    Start typing the recipient's address or name in a new message.
    Select the desired address from the auto-complete list as if you'd compose an email to them.
    Click the small down arrow in the recipient.
    Select Remove from Previous Recipients List from the menu.
    You can also search for the unwanted address directly in the previous recipients list:
    Select Window | Previous Recipients from the menu in Mac OS X Mail.
    Highlight the address you want to remove.You can highlight multiple addresses by holding down the Command key.
    Click Remove from List.
    Source: About.com

  • Login problem after change in Domain name of portal

    I have installed portal 3.0 Beta on windows 2000. installation has gone fine and everything was working. after this i made change in domain name. for this i ran ssodatan.cmd script (source from metalink).
    now i am not able to go by
    "http://domain_name/pls/portal30/
    it gives the error
    "The request for content either timed out, or produced an error, after 0 seconds in the browser"
    Still i am able to go by "http://domain_name/pls/portal30_sso/" further if i login as any user, then all user are coming with "login server home page" as initial page.
    any idea?
    null

    Hi Suzette,
    I have portal 3.0.6.3.3 Beta i.e apache listener. For this i have not found domain name in registry. i made the following changes in htppd.conf file.
    ServerName 194.170.231.141
    <VirtualHost 194.170.231.141>
    DocumentRoot E:\ORAPOR\Apache\Apache\htdocs
    ServerName www.ahi-carrier.co.ae
    ServerAlias ahiweb 194.170.231.141
    </VirtualHost>
    This 194.170.231.141 is my Fixed Internet IP.
    my webserver machine name, where the oracle portal is installed is ahiweb(192.168.0.247).
    also i have firewall before the web server.
    Is these settings are OK for Portal.
    I am using apache listener for my developer forms and reports, and they are working fine with these setting on the internet.
    can i get white paper for these settings.
    Thanks
    null

  • Problem changing author name in commention tools

    Hi Forum
    Whenever I do commenting in Acrobat 8, it will use my short name as author.
    I would like to change that, and I don't want to change properties for each and every comment.
    In the Acrobat preferences, I have unchecked "Always use log-in name for Authors name" under Commenting, but Acrobat still uses "Login name" under Identity.
    Is there a way to get Acrobat to use the Identity:Name preferences instead?
    Kind regards
    Lars

    You also need to change the comment name in the tooll and then 'use as
    default' option ....
    Jon

  • DataPump Problem. Automaticaly change dump file name.

    Deal All
    I have create a plsql block and which will backup the database using datapump.
    He is working fine in scheduler but he generates error because it doesnot change
    file name every time. Against the following he always generates
    'EXPORT%U.DMP' = EXPORT01.DMP file name.
    Please tell me how i can change every file name automatically.
    Thanks
    Abid

    Hi,
    I have 10.2.0.4 db on windows and want to have a full datapump export every night and want a unique file name but this does not work for me. The script just does not execute. I have even tried this from the command line
    par file is
    DUMPFILE='expdp_testdb_full.'||to_char(sysdate,'YYYYMMDDHH24MISS')||'.dmp'
    JOB_NAME=expdp_testdb_full
    LOGFILE="expdp_full_testdb.log"
    DIRECTORY=DATAPUMP_DIR
    FULL=Y
    ESTIMATE=STATISTICS
    CONTENT=ALL
    PARALLEL=20

Maybe you are looking for