Session id problem

Hi all expert out there,
I have some problem related to session control. Here is the scenario, I use session to control my page to prevent unauthorize user access. If I detect the session flag is null i will redirect user to the login page and ask them to login again. Every thing working fine, but when I ask user to test the page I have facing some problem, some of the user cant access the page because the session flag is invalid. It so not be coz all this user is a valid user. After doing some research I found that it is related to sessionid store in the cookie, it same like the session id store in the cookie can map with the session object in the server. if I delete it manually , everything same to be working fine. Can someone tell me why this happening?? And one more thing, everytime when user logout I just call the HttpSession invalidate. Is this causing the problem??
thank in advanced
regards
yuji

I m sure the user have enable their cookie, now the problem same like the cookie in user browser does refresh everytime. For example , when user first time go in to my page the web server automaticly store a cookie JSESSIONID in the browser, and after login and logout. Another JSESSIONID is store in the browser, so will it confuse the server which one it should read and the first one never refresh util the session expire. And how can i force the cookie expire or delete it?? I try setMaxAge(0) but it same like it not working!!!
Thank for your reply.
regards
yuji

Similar Messages

  • Session Expired Problem on OAS

    Hi,
    I often got the error message "Session Expired" displayed on my HTML page that serves Java Servlet output after some time.
    I attempted to look through my Servlet source codes but it has no problem. In fact, it runs perfectly well on JavaWebServer2.0.
    This seems to be a OAS problem. I'm using Oracle Application Server 4.0.8.1. I attempted changing the Servlet Cartridge's "Max session idle time" and observe the behaviour. It appears that when "Session Expired" problem happened, my servlet class never get called. OAS simply display a "Session Expired" message on the web page.
    How can I avoid this? How can ask OAS to call my servlet's doGet() to create a new session when it expired?
    Anyone knows how?
    null

    Hi,
    OAS has a limitation of 300 seconds. This value cannot be changed. See the release notes.
    One possible way to get around this is to use the Oracle Supplied Session class and use the time feature in that.
    This a big limitation and I am not sure why Oracle designed the product this way.
    null

  • Session management problems with SSO

    Hi all-
    I've been getting an Apex app tied to SSO as a partner app (per http://www.oracle.com/technology/products/database/application_express/howtos/sso_partner_app.html). So far, it sort of works. If I go to my apex app, it redirects me to SSO, where I authenticate and end up back in the apex app. Great. Here are two problems I've run into:
    1. If I am already authenticated to SSO, and I go to my apex app (url like: http://host/pls/apex/f?p=101:1), my browser goes into an infinite redirect (url like: http://host/pls/apex/f?p=101:1:::::FSP_AFTER_LOGIN_URL:\f? p=101|1|||||FSP_AFTER_LOGIN_URL|\f?p=101|1|||||FSP_AFTER_LOGIN_URL|\f? p=101|1|||||FSP_AFTER_LOGIN_URL|\f?p=101|1|||||FSP_AFTER_LOGIN_URL|\f? p=101|1|||||FSP_AFTER_LOGIN_URL|\f?p=101|1|||||FSP_AFTER_LOGIN_URL|\f? p=101|1|||||FSP_AFTER_LOGIN_URL|\f?p=101|1|||||FSP_AFTER_LOGIN_URL|\f? p=101|1|||||FSP_AFTER_LOGIN_URL|\f?p=101|1|||||FSP_AFTER_LOGIN_URL|\f? p=101|1|||||FSP_AFTER_LOGIN_URL|\f?p=101|1|||||FSP_AFTER_LOGIN_URL|\f? p=101|1|||||FSP_AFTER_LOGIN_URL|\f?p=101|1|||||FSP_AFTER_LOGIN_URL|\f? p=101|1|||||FSP_AFTER_LOGIN_URL|\f?p=101|1|||||FSP_AFTER_LOGIN_URL|\f? p=101|1|||||FSP_AFTER_LOGIN_URL|\f?p=101|1|||||FSP_AFTER_LOGIN_URL|\f? p=101|1|\\\\\\\\\\\\\\\\\\\). To resolve, I have to clear cookies.
    2. If I am using my apex app, then log out of SSO (in another browser window), I can still click around in my apex app (i.e., apex thinks I'm still authenticated).
    Anyone have any thoughts? I'm wondering if I need to do something in page session management (under authentication schemes) to fix #2, but I have no clue about #1.
    Thanks
    Rob

    Hi Scott-
    Thanks for the info on #2 - I'll work on that after I get #1 sorted out, since it's the more dire problem. Here's some more info:
    Apex version = 3.0.1.00.08
    SSO SDK = ssosdk902.zip
    I set it up as "My Application as Partner App." I used "MY_PARTNER_NAME" as SSO Partner Application Name. In the list of SSO Partner Apps on the SSO Admin page, my partner app name is also MY_PARTNER_NAME. It gives the following info:
    Login URL:      https://sso_host/pls/orasso/orasso.wwsso_app_admin.ls_login
    Single Sign-Off URL:      https://sso_host/pls/orasso/orasso.wwsso_app_admin.ls_logout
    Home URL: http://apex_host/pls/apex
    Success URL: http://apex_host/pls/apex/RBLICK.YOUR_PACKAGE.PROCESS_SUCCESS
    Logout URL: http://apex_host/pls/apex
    RBLICK is the schema owning the apex app. In there, I created a package called YOUR_PACKAGE:
    create package YOUR_PACKAGE as
    procedure process_success(urlc in varchar2);
    end YOUR_PACKAGE;
    CREATE PACKAGE BODY YOUR_PACKAGE AS
    procedure process_success(urlc in varchar2) as
    begin
    wwv_flow_custom_auth_sso.process_success(
    urlc=>urlc,
    p_partner_app_name=>'MY_PARTNER_NAME');
    end process_success;
    END YOUR_PACKAGE;
    Anything look obviously wrong to you?
    Thanks!
    Rob

  • Session timeout problem with CCA

    I have developed a Client applicaiton in ASP.Net 2005 using the SOAP Api provided in Oracle CCA 8.1.3
    The System details are as under:
    Product – Oracle CCA 8.1.3
    Server on Windows 2003 Server – Standard Edition
    Web Server – BEA Weblogic 10g3
    Database – Oracle 10g
    Java Version – 1.5 Update 10
    I am facing a problem where the users session changes every 5 Minutes 30 Seconds. I get the "Session Change" message and at this point I cannot see the Agent on the CCA Agent Monitoring screen. What I need to do now is to Reopen the session. Upon Repoening the Session I would get the same SessionId from the WebServer that I had get earlier.
    Please help.

    Hi All,
    could u please help me out how to make the SIP CAlls in the CCA
    I am able to chat between supervisor and agent.
    when it comes to th eoutbound cal
    i am using X-lite software for making the outbound Cal.
    when i make a cal the status will be changed to rining mode and comes back to on-hook after few min.
    when i see the logs the legs are inviting and getting disconnected
    RVSIP_CALL_LEG_STATE_INVITING [44173472]
    26/04/2011 15:08:15.931 : 4 : 8028 : 4552 : CallCenter : 27 : # 9: CCallCenter::SendOutMessage() Sending message [##;4;2;99880103;106,9,27,2582,:10.103.91.13,hschbscgn25001,,;] to [type=20, id=0, grp=102]
    26/04/2011 15:08:15.931 : 4 : 8028 : 4552 : CallCenter : 27 : ******** : Sent : new message (99880103) to CtiServer Id[0] group[102] version[0]
    26/04/2011 15:08:15.931 : 4 : 8028 : 4552 : CallCenter : 27 : # 9: Added Timer[68] for line[9] about[4100] on[1303810945,931]
    26/04/2011 15:08:17.009 : 4 : 8028 : 4552 : CallCenter : 27 : CCallCenter::SendOutMessage(CMessage) Sending message [99880100] to [type=20, id=0, grp=0]
    26/04/2011 15:08:17.009 : 4 : 8028 : 4552 : CallCenter : 27 : ******** : Sent : new message (99880100) to CtiServer Id[0] group[0] version[1]
    26/04/2011 15:08:17.009 : 4 : 8028 : 4552 : CallCenter : 27 : CCallCenter::SendOutMessage(CMessage) Sending message [99880100] to [type=103, id=0, grp=0]
    26/04/2011 15:08:17.009 : 4 : 8028 : 4552 : CallCenter : 27 : ******** : Sent : new message (99880100) to RedirectServer Id[0] group[0] version[1]
    26/04/2011 15:08:17.009 : 4 : 8028 : 4552 : CallCenter : 27 : Sending GET_CHANNELS_INFO_UPDATE to all NetworkManager
    26/04/2011 15:08:17.009 : 4 : 8028 : 4552 : CallCenter : 27 : CCallCenter::SendOutMessage(CMessage) Sending message [1018] to [type=12, id=0, grp=0]
    26/04/2011 15:08:17.009 : 4 : 8028 : 4552 : CallCenter : 27 : ******** : Sent : new message (1018) to NetworkManager Id[0] group[0] version[1]
    26/04/2011 15:08:19.431 : 4 : 13712 : 4552 : CallCenter : 27 : AppCallLegStateChangedEvHandler [[email protected]]
    26/04/2011 15:08:19.431 : 0 : 13712 : 4552 : CallCenter : 27 : RVSIP_CALL_LEG_STATE_MSG_SEND_FAILURE [44173472]
    26/04/2011 15:08:19.431 : 4 : 13712 : 4552 : CallCenter : 27 : Adding SDP info to Message
    26/04/2011 15:08:19.431 : 0 : 13712 : 4552 : CallCenter : 27 : Failed to DNS continue on a call
    26/04/2011 15:08:19.431 : 4 : 13712 : 4552 : CallCenter : 27 : AppCallLegStateChangedEvHandler [[email protected]]
    26/04/2011 15:08:19.431 : 4 : 13712 : 4552 : CallCenter : 27 : RVSIP_CALL_LEG_STATE_DISCONNECTED [44173472] reason[15]
    26/04/2011 15:08:19.431 : 4 : 13712 : 4552 : CallCenter : 27 : CH[9]: Sending EVENT_DISCONNECT_CALL
    26/04/2011 15:08:19.431 : 4 : 13712 : 4552 : CallCenter : 27 : addAlarm() 44173472
    26/04/2011 15:08:19.431 : 4 : 13712 : 4552 : CallCenter : 27 : AppCallLegStateChangedEvHandler [[email protected]]
    26/04/2011 15:08:19.431 : 4 : 13712 : 4552 : CallCenter : 27 : RVSIP_CALL_LEG_STATE_TERMINATED [44173472] reason[19]
    26/04/2011 15:08:19.431 : 4 : 8028 : 4552 : CallCenter : 27 : GOT sip_event on channel [9] type [12002]
    26/04/2011 15:08:19.431 : 4 : 8028 : 4552 : CallCenter : 27 : # 9: GOT EVENT CALL WAS DISCONNECTED BY REMOTE
    26/04/2011 15:08:19.431 : 4 : 8028 : 4552 : CallCenter : 27 : # 9: New event received [0X3 - CALL_MAKECALL_EVENT - 0X4001]
    26/04/2011 15:08:19.431 : 4 : 8028 : 4552 : CallCenter : 27 : # 9: CCallCenter::SendOutMessage() Sending message [##;4;2;99880104;106,0,101,;] to [type=20, id=0,                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Enterprise Session Bean Problem

    Dear Experts,
    I have just installed Netweaver Developer Studio 7.1 Composition Environment and is doing some development on it from the tutorial in the following link
    [http://help.sap.com/saphelp_nw04/helpdata/en/c3/679564e11d482f8a706b423f67e56c/content.htm|http://help.sap.com/saphelp_nw04/helpdata/en/c3/679564e11d482f8a706b423f67e56c/content.htm]
    I have created a new EJB Project using the Configuration SAP EJB J2EE 1.4 Project and created a new stateless session bean Calculator. 
    I finished creating the session bean with all the BUSINESS METHODS, but when I expand the project node Calculator in the J2EE Explorer, I CANNOT see the Calculator.java class.  All other classes such as CalculatorBean.java, CalculatorHome.java, etc are present. 
    This is where the problem comes, when I create the JavaBean in the Web Module I will need to access the Calculator.java class and now I cannot access it since it is missing.
    Can you please guide me on how to generate the Calculator.java class in the session bean.
    Points will be rewarded for correct answers.
    Thanks in advance
    Edited by: jamison2004 jordan2004 on May 7, 2008 11:16 AM
    Edited by: jamison2004 jordan2004 on May 7, 2008 11:25 AM

    Hi jamison jordan,
    Maybe you check the CE version of the documentation:
    [Creating Your First J2EE Application|http://help.sap.com/saphelp_nwce10/helpdata/en/c3/679564e11d482f8a706b423f67e56c/frameset.htm]
    kind regards
    Stefanie

  • GemXpresso JCard Manager session authentication problem

    Hello!
    First of all I am new in Java Card Technology and I am trying to explore the
    JCard Manager environment. I am using GemSafe Xpresso Cards.
    My problem is that I cant create a session between reader and card in one of my
    cards. The trace in this card's authenticate prosses is:
    Default key file URL: file:/C:/Documents%20and%20Settings/user/GemXpressoJCardManager/keyfiles/jc2.2.1%20-%20gp2.1.1/default.keys
    Select the Security Domain
    ->  00 A4 04 00 08 A0 00 00 00 18 43 4D 00
    <-  61 1B   [Normal ending of the command with <27> bytes of extra information.]
    key set 0 (Card Defined)
    Initialize Update
    ->  80 50 00 01 08 00 01 02 03 04 05 06 07 (00)
    <-  4D 00 40 82 B8 18 1E 2B 25 6D 0D 01 B5 44 51 2B 59 78 8B 8C BE EB 18 CF C9 AD D2 62, 90 00   [Normal ending of the command.]
    Card info KeySet=13
    (SCP 01,implementation i05)
    Command Exception on command: Authenticate. authentication failed: The card cryptogram is not verified.the other cards pass this procedure successfuly showing the message:
    Default key file URL: file:/C:/Documents%20and%20Settings/user/GemXpressoJCardManager/keyfiles/jc2.2.1%20-%20gp2.1.1/default.keys
    Select the Security Domain
    ->  00 A4 04 00 08 A0 00 00 00 18 43 4D 00
    <-  61 1B   [Normal ending of the command with <27> bytes of extra information.]
    key set 0 (Card Defined)
    Initialize Update
    ->  80 50 00 01 08 00 01 02 03 04 05 06 07 (00)
    <-  4D 00 40 82 D0 01 23 25 25 56 FF 01 C1 64 C0 1A 12 C1 E8 12 07 03 BC 8C 28 4A 9C 84, 90 00   [Normal ending of the command.]
    Card info KeySet=-1
    (SCP 01,implementation i05)
    External Authenticate
    ->  84 82 00 00 10 66 2B 64 5B A8 F6 35 CC DA 46 DD B9 1C CA 78 2E
    <-  90 00   [Normal ending of the command.]
    A Card was removed from the terminal: Gemplus USB Smart Card Reader 0 from the slot: 0I think that the card came this state because my partner to this project was
    issue a command by accident, and now he can't remember what he done.....
    I suppose I have to change the card's KeySet from 13 (D0) to -1 (FF) but I don't know how.
    Does anybody knows what i suposed to do and fix the problem??
    Thank you in advance for your help, Bill....

    Lets see... First of all thank you for the reply. Also I forgot to say that I use Global Platform 2.1.1 cards.
    I understand that the initial keyset has been changed and I can't turn
    back to keyset -1. Also my partner said that he don't remember to issued a specific command, but the only thing he remembers is that he send
    an (unknown for him) APDU to the card, from the SEND APDU panel, not very wise move.
    So he did not create a new key set, as I understand. I use the GET DATA command with Predefined Taq set to Key Information Data to retrieve the
    informations you told me but the answer was
    Get Data
    ->  80 CA 00 E0 (00)
    [ERROR  ] <-  6A 86
    [ERROR  ] <-  (ISO 7816-4) Wrong parameter(s) P1 P2 (Incorrect parameters P1 P2). So? what I can do now?
    Thank you again in advance.... Bill

  • JSP Session ID Problem

    I have a problem, where I am getting two separate Session Id's within the
              same browser instance. This is what I am doing:
              User sees login.jsp. A form that calls a servlet, when they do the submit.
              The first jsp and the servlet have the same Session ID. The servlet sets
              some attributes for that user, then calls
              response.sendRedirect(initial.jsp). The second jsp has a new Session ID, and
              so doesn't see any of the attributes that the servlet set.
              Am I doing something fundamentally wrong here, or is this a WLS problem? We
              are on WLS 6.0, no service packs installed.
              Thanks.
              Jeff Pfost
              [email protected]
              

    Cookies or URL encoding?                    Cookies.
              FYI. After that post, I download Service Pack 2 and applied it.
              That fixed the problem, and now a redirect doesn't generate a
              new session.
              Thanks.
              Jeff Pfost
              [email protected]
              "Cameron Purdy" <[email protected]> wrote in message
              news:[email protected]...
              > Cookies or URL encoding?
              >
              > Peace,
              >
              > --
              > Cameron Purdy
              > Tangosol, Inc.
              > Clustering Weblogic? You're either using Coherence, or you should be!
              > Download a Tangosol Coherence eval today at http://www.tangosol.com/
              >
              >
              >
              > "Jeff Pfost" <[email protected]> wrote in message
              > news:[email protected]...
              > > I have a problem, where I am getting two separate Session Id's within
              the
              > > same browser instance. This is what I am doing:
              > >
              > > User sees login.jsp. A form that calls a servlet, when they do the
              submit.
              > > The first jsp and the servlet have the same Session ID. The servlet sets
              > > some attributes for that user, then calls
              > > response.sendRedirect(initial.jsp). The second jsp has a new Session ID,
              > and
              > > so doesn't see any of the attributes that the servlet set.
              > >
              > > Am I doing something fundamentally wrong here, or is this a WLS problem?
              > We
              > > are on WLS 6.0, no service packs installed.
              > >
              > > Thanks.
              > >
              > > Jeff Pfost
              > > [email protected]
              > >
              > >
              > >
              >
              >
              

  • Apache + 2 Tomcats session replication problem.

    Greetings everyone.
    Before stating the problem, let me explain how my environment is set.
    I have two machines. One (PC1) running Apache (HTTP server 2.0.58)
    and one instance of Tomcat (5.0.28) and another machine (PC2) with
    another instance of Tomcat(5.0.28).
    The Apache server
    It is configured to handle static content, to redirect dynamic content to a
    Tomcat instance through AJP 1.3 connector.
    This process is done through the mod_jk and the workers.properties
    The workers.properties file is configured to have sticky_session = True
    so it assigns a SESSION_ID to the same Tomcat it was first assigned.
    The workers.properties file is configured to have
    sticky_session_force = True so if the Tomcat the SESSION_ID was
    assigned is not available, the server answers with a 500 error.
    The Tomcat servers
    Both have only the AJP 1.3 connector enabled
    Both have the Cluster tag from the server.xml file uncommented
    and the useDirtyFlag flag set to false, for not to allow SESSION
    replication between Tomcats.
    The workers.properties file
    workers.apache_log=C:/Apache2/logs
    workers.tomcat_home=C:/Tomcat5
    workers.java_home=C:/j2sdk1.4.2_13
    ps=/
    #Defining workers -----------------------------
    worker.list=balancer,jkstatus
    #Defining balancer ---------------------------
    worker.balancer.type=lb
    worker.balancer.balance_workers=tel1, tel2
    worker.balancer.sticky_session=True
    worker.balancer.sticky_session_force=True
    worker.balancer.method=B
    worker.balancer.lock=O
    #Defining status -----------------------------
    worker.jkstatus.type=status
    worker.jkstatus.css=/jk_status/StatusCSS.css
    #Workers properties ---------------------------
    worker.tel1.type=ajp13
    worker.tel1.port=8009
    worker.tel1.host=127.0.0.1
    worker.tel1.lbfactor=1
    worker.tel1.socket_keepalive=False
    worker.tel1.socket_timeout=30
    worker.tel1.retries=20
    worker.tel1.connection_pool_timeout = 20
    #worker.tel1.redirect=tel2
    worker.tel1.disabled=False
    worker.tel2.type=ajp13
    worker.tel2.port=8009
    worker.tel2.host=199.147.52.181
    worker.tel2.lbfactor=1
    worker.tel2.socket_keepalive=False
    worker.tel2.socket_timeout=30
    worker.tel2.retries=20
    worker.tel2.connection_pool_timeout = 20
    #worker.tel2.redirect=tel1
    worker.tel2.disabled=False
    THE PROBLEM
    I open a browser in the jk-status page to see how the Tomcat instances are
    working, and both are working fine: Stat -> OK, now as the
    loadbalancing factor is 1 on both Tomcats, an even alternating session
    distribution is set.
    While this browser is open to keep an eye on the status, I open a new
    browser (B1)to connect to my Web Application, Apache answers
    correctly and gives me a SESSION_ID for Tomcat instance 1 [both
    instances are OK], if I make a simple refresh, my SESSION_ID is still the
    same so I'm assigned to Tomcat instance 1 but this time I get an
    ERROR 503 - Service unavailable but looking at the status of the
    Tomcat instances both instances are still OK, no-one is down. And it
    stays throwing this error for as many refreshes i do.
    Now, I open a new browser (B2)and do the same process as before,
    as expected, Apache now gives me a SESSION_ID for Tomcat instance 2,
    repeating the same refreshing process, the error is thrown again, but still at
    the jk-status page, both instances are fine.
    Without closing these windows, I make a new refresh try on B1 and
    even though the jk-status says both Tomcat instances are OK, the error
    is still thrown. I open a third one (B3), and Apache again, correctly
    gives me a new SESSION_ID for Tomcat instance 1 and answers
    correctly on the first call. But once again if i repeat the refreshing process, the
    error is thrown again.
    Note: Using a different resolution to always keep and eye on the
    instances status and using a refresh rate of 1 second for status, both
    servers always were OK.
    So the main problem is that somehow when the session is replicated
    to the same tomcat, Apache confuses and thinks it is not available, when
    asking it through the jk-status it tells it is OK
    I've been trying different configurations with both Apache and Tomcat,
    but there must be something missing since I don't get it to work correctly
    Thanks in advance for all your helping comments.
    - @alphazygma

    Whew... that was quite an answer... definitely is going to help him a lot. Yeah any n00b by now should know how to use google, but that's not the point in this forums, here we are to help each other. and wether you like it or not many of us deploy applications to tomcat and stumble on this. So dont try to be cool posting this kind of answers like google this or google that if you dont have an answer please dont comment you will appear to be more noobish than you aparently are.
    Well enough talking.
    I found the following useful: (it comes in the server.xml of the tomcat configuration)
    <!-- You should set jvmRoute to support load-balancing via JK/JK2 ie :
    <Engine name="Standalone" defaultHost="localhost" debug="0" jvmRoute="jvm1">
    -->
    Enabling that entry on both machines should be enough.
    Aparently the problem is not with apache. is with tomcat since it can't retain the session apache gives.
    more information in the Tomcat help at:
    http://tomcat.apache.org/tomcat-5.0-doc/balancer-howto.html#Using%20Apache%202%20with%20mod_proxy%20and%20mod_rewrite

  • OBIEE Session Variable Problem

    Hi:
    OBIEE 11.1.1.5
    I created a new session variable and initialization block. The default value of the variable is 1. The query for the initialization block is SELECT 123456 FROM DUAL. The query in the initialization block tested fine. I bounced the OBIEE instance.
    When I use the Administration Tool to view the Session Manager, I see that the value of the variable is 123456.
    The problem is in an Answers report the value of the variable is 1.
    Can anyone offer a suggestion as to why the value in Answers is the default value of the variable?
    Thanks.

    Thanks for your reply. I agree that the expression NQ_SESSION. <<variable name>> will display the variable. And it is with this command, in Answers, that I see the default value. Only in the Admin Tool do I see the correct value assigned with the Initialization Block.
    Again, my problem is I cannot display the correct assigned value in an Answer report, only the default value.

  • Session create problem in mysite....

    Hi developers,
    In my project when ever i am clik on sign out button. All session values distroy. But when ever i click on the BACK Button in Browser it shows all options regulary until page refresh. How can i solve this problem.
    This is my logout.jsp file
    <%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage=""  %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Untitled Document</title>
    </head>
    <body>
    <%
         session.removeAttribute("uname");
         session.invalidate();
         response.sendRedirect("http://www.dec1010.com/visitagain.jsp");     
    %>
    </body>
    </html>Thanking u
    with Regards
    sure..:)-

    when ever i
    am clik on sign out button. All session values
    distroy. But when ever i click on the BACK Button in
    Browser it shows all options regulary until page
    refresh. How can i solve this problem.The browser is caching the page.
    When you hit the back button on your browser, the browser is reading the data from the cache and not from the Http Session.
    When you use HttpSessions, it is a good practice to prevent browsers from caching your page.
    Caching mechanism is browser dependent and HTTP protocol version dependent , do some research on how you could prevent a page from being cached and add the code directly in the JSP page which you don't want to be cached.

  • HP T510 Citrix session disconnect problem

    Hello, I had problem with HP T510 (Thinpro Image 5.2/citrix receiver 13.1, Xenapp 6.5 on serveur 2008 R2). After direct ICA connexion on published desktop, the connexion drop and the user came back to the Thinpro OS. The problem seems to be with Lotus Notes 6.5 when they click on “New memo” or “Address” but not every time. After lost connexion the user must enter the password on Thinpro ICA connexion to retrieve is Windows session (session just lock not logout). Nothing special on server log. I think the ICA session send signal to terminal to disconnect. Thanks you Eric

    We are having the exact same issue with our T510s, also on ThinPro 5.2, latest image. However, we do not use Lotus Notes, and there are no "crashes" happening, they simply lose connection and get their sessions back when they re-login. We have a T520 running W7ES, and some T5740s running WES9 with no problems. It is only these T510s on ThinPro 5.2.  Are yours using wireless by the way? All of ours that have the issue are wireless. We have a few T510s that are on a wired connection that I haven't seen the problem on, but I will need to verify with the users. Between this and the application icons being blank I posted about here, I am a bit less than impressed with ThinPro 5.2...

  • Static methods in Session Beans problem

    Can a Stateful Session Bean have a static method?
    public static String foo();
    I tried to add a static method to a Stateful Session bean but had two problems:
    When I tried to add the static modifier to the Remote interface:
    static String foo();
    I got the following error message:
    Error(12,17): modifier static not allowed here
    When I tried to compile code calling this function :
    MyClass.foo();
    I got this message:
    Error(795,42): non-static method getNewSuffix(java.lang.String) cannot be referenced from a static context
    Even though a static method was compiled in this class. I assume it can't find the static modifier in the Remote interface which wasn't allowed. Are static methods allowed in EJB's at all?

    dear friend,
    1) Interfaces may not contain static functions!
    2) EJBs doesnt support static methods !
    Maybe you should go and learn more about Java and EJB's ?

  • Session variable problem : equality comparisons

    I have defined the following session variable returning the error *"[nQSError: 10058] A general error has occurred. [nQSError: 42040] The session variable, NQ_SESSION.TEST, is defined as Row-Wise Initialization. It is restricted to usage with equality comparisons. (HY000)"*
    select 'TEST', organisatie_nummer
    from st_organisatie
    where (select case when regio = -1 then 1 else
    regio_nummer end
    from st_gebruikers
    where upper(gebruiker) = upper('VALUEOF(NQ_SESSION.USER)')) =
    (select case when regio = -1 then '1' else regio end
    from st_gebruikers
    where upper(gebruiker) = upper('VALUEOF(NQ_SESSION.USER)'))
    Why this setup...a user can have access to 1 region or 'ALL' region. To make the 'ALL' available a dummy records has been inserted with a value of -1.
    There's no problem to retrieve the region (another session variable), it returns '%' in case a user has all regions or the region name itself.
    But i wanted to use this variable to retrieve the organisations linked to a region, but using a like statement or the query above isn't possible as it always returns the same error.
    Someone any idea how to resolve this?!
    Txs,
    Andy

    [nQSError: 10058] A general error has occurred. [nQSError: 42040] The session variable, NQ_SESSION.ORGANISATIE, is defined as Row-Wise Initialization. It is restricted to usage with equality comparisons. (HY000)
    I transformed my query like this, I don't have any clue why this isn't working...if I run this sql statement it works perfect but not in OBi
    select 'ORGANISATIE', organisatie_nummer
    from st_organisatie
    ,(select gebruiker,regio from st_gebruikers) b
    where case when b.regio = -1 then 1 else regio_nummer end
    like
    case when b.regio = -1 then '%' else b.regio end
    and upper(gebruiker) = upper(':USER')

  • Max no session reached problem

    hi,
    the problem is that when navigating through the screens in the project comprise of menupainter, screenpainter, the problem like
    <b>"maximum number of internal sessions reached"</b> appeared in middle of the navigation and coming out of the project. pls give ur idea to overcome this.

    hi karthigayan,
    is sap it accepts only upto 6 sessions , if it exceeds then show the message 'maximum number of internal sessions reached',
    u can close the unnecessary session that's all.
    reward points if helpful,
    regards,
    seshu.

  • Urgent: session invalidate problem

    Guys:
    Has anyone had a issue with session.invalidate() using weblogic 8.1.
    we have vignette portal and weblogic 8.1.
    the problem i have noticed is session.getId retunrns a extra timestamp string in the end. And i am thinking since this changes the entire sessionid, it does not get invalidated. I tried adjusting the weblogic.xml's idlength session-param to 52 but this still happens after that. can anyone suggest any insights. i am unable to kill the session and hence the user is always logged in. the only way is to close to broswer window.

    here is the error printed out:
    java.lang.NullPointerException
         at com.sssw.srv.http.CommonLogger.log(CommonLogger.java:217)
         at com.sssw.srv.http.httpd.log(httpd.java:4229)
         at com.sssw.srv.http.Client.log(Client.java:254)
         at com.sssw.srv.http.Client.loop(Client.java:1300)
         at com.sssw.srv.http.Client.runConnection(Client.java:1495)
         at com.sssw.srv.http.Client.run(Client.java:1442)
         at java.lang.Thread.run(Thread.java:479)

  • Urgent:Session swapping problem

    Hi,
    We have a peculiar problem. We are running a site using JSP. Session handling has been done.
    When 2 users log in simultanesouly from different machines into our site and do a transaction, the details of the users are getting swapped between the users. The details of user A are getting transferred to User B and vice versa after a page has been submitted.
    What might be a problem ?
    Pls help me out immedately.

    Hi,
    I had something similar, and in my case I had to set the isThreadSafe page property to false. Normally the JSP environment assumes that your jsp-files are 'Threadsafe'. But in your case I think they are not. When you put in your jsp-file the statement
    <%@ page isThreadSafe=false %>
    then the JSP environment will take care that your jsp-file becomes threadsafe. This should solve your problem.
    Sponiza

Maybe you are looking for

  • Failover Cluster creation fails 2012R2

    Create Cluster Cluster: FailoverCluster Node: WS2012R2-2.yottabyte.inc Node: WS2012R2-1.yottabyte.inc IP Address: DHCP address on 192.168.136.0/24 Started 3/31/2015 11:48:52 PM Completed 3/31/2015 11:52:13 PM Beginning to configure the cluster Failov

  • Workflow inboz regresh problem

    Hi , IN SBWP sap workflow inbox when i am refreshing a huge number of items has been generating. not for all only one particular item , i already deactivated that workflow that workflow has been executed 15 days back still i am getting that workitem

  • IPhoto icon changed to a question mark in my launch pad...

    Hi All, I used to have an iPhoto icon in my launch pad in order to pull up my pictures/movies.  Where I used to have the "regular" iPhoto icon, I now have a question mark and when I click on it, nothing happens.  I tried to use finder to find my iPho

  • Error: Error #2078: The name property of a Timeline-placed object cannot be modified.

    Error: Error #2078: The name property of a Timeline-placed object cannot be modified.     at flash.display::DisplayObject/set name()     at RonaldTest_fla::MainTimeline/frontWheelLoadComplete() The code that triggers that bogus error is the following

  • ESS Travel links not appearing (EHP4)

    Hi there, We are on EhP4 and trying to implement travel management. Currently we are only seeing the following links: Travel Information Route planning My travel Profile Personalize data Switch personal number Unlock personal number We want to see th