Reports containing session variables do not cache

I have a general report that is filtered using information from session variables, for example which teamleader or supervisor the user has to tailor the report.
BUT the problem is that any request with a session variable in it from Answers does not hit the cache.
Actually they do cache but only for that user, not across users. Even when I preload the cache with the report with no filtering, it is not used by subsequent filtered requests.
Question:
- it is possible to get the report to cache when the session variable is used on the Answers side?
- if not does caching happen if used in a WHERE clause in the logical or physical layers
Otherwise, how to do get this to work?
Edited by: Rob Scott on 28-Jul-2011 05:16

Thanks for your reply.
The problem is this. Imagine you have a table say of the number of calls that each user has made and users belong to teams, so you have a table like this:
team, user, # of calls
You also have a session variable containing the team for that user.
What I do is have a where filter that filters the table depending on the session variable against the team, so each user only sees data relevant to their team.
This works OK but there is a caching problem.
If I don't do filtering and just have the report with all the data in it, then that is cached.
If I then run the same report but with the session variable filtering on, then it doesn't hit the cache even though it is a subset of the first request.
If you have 10s of teams each with say 20 reports, then that makes 200 requests whereas really it should just pick up the first super-table that is cached.
I will do more tests but I simply couldn't get it to pick up the cached copy.

Similar Messages

  • Function to get session variable is not working

    I created a report based on the following sql query:
    SELECT EMPNO, ENAME, JOB, MGR, HIREDATE, SAL, COMM, DEPTNO FROM SCOTT.EMP
    WHERE DEPTNO = empcust.current_deptno
    empcust.current_deptno is a function which returns the value of the session variable. However, nothing gets returned. The value of the session variable is not found.
    I know that the session variable is being set b/c i have a procedure that sets it and prints out the assigned.
    This is my code for the current_deptno function. If anyone can help, i'd greatly appreciate it!
    procedure current_deptno
    return VARCHAR2
    as
    v_Session portal.wwsto_api_session;
    v_Return VARCHAR2(20); --DEPT.DEPTNO%TYPE;
    begin
    v_Session := portal.wwsto_api_session.load_session('PORTAL','SESS_EMP');
    v_Return := v_Session.get_attribute_as_varchar2('DEPTNO');
    htp.p('Return session var'||v_Return);
    RETURN(v_Return);
    end;

    Hi Imtiaz,
    Could you verify that the variable has indeed a value? You could check via the Session Manager in the Admin Tool. You could also check the Query Log to verify whether the Initialization Block is working like expected.
    Thanks.
    Daan Bakboord
    http://obibb.wordpress.com

  • Session variables is not recognized in my CFC

    Hi,
    I got a very weird problem today! I have created a simple
    login page ( username as an email and a password). This is post to
    the same page where I verify from a query if the username and
    password are valid. Once the query returns a RecordCount greater
    than 0, I create session variables to store the first name and last
    name of the user. I can see actually the session variables from a
    CFDUMP at that level.
    Since I am developping an application that will mix
    ColdFusion (mostly CFC) and Flex 3, I have created a CFC where I
    store functions needed for the Flex application. One of the
    function is fGetUserInfo where I try to collect the information I
    previously store in the session scope from the login - such as the
    first name. The system stop right there with an error saying that
    the session variables are not defined while I have the session
    variables appear at the bottom of the debug information in the same
    page. This is starting to be over my knowledge and I must missing
    an information to resolve this - in other words, I need your
    help!!!
    I include some code to understand that the problem is not a
    mispelling!!! ;-))

    I tried to change the savings of the user's information into
    cookies instead of the session scope but it does the exact same
    error (except it says Element TECHNICIANID is undefined in COOKIE).
    In fact, after a little break, I started to think about the
    method to access the functions inside the CFC. As it is remote, I
    though that it might have a sense of no life on the session scope.
    Than I though about the idea to transfer all the informations to
    the client with Cookie. CFCOOKIE work fine and I was kind of
    animated by my idea! I coded, I tried and it failed. I used at
    first the default value of the CFCOOKIE which consists to reside on
    the memory like a session but disapear when the user close his/her
    browser. So after the first fail I change the expiration for 30
    minutes but it failed again and for the same reason: Element
    TECHNICIANID is undefined in COOKIE.

  • Filter view with session variable does not display value properly.

    Hi All,
    I have a very unique issue and I am not sure if anyone ran into this before.
    I have a prompt in my dashboard and a link to a report. The session variable default the value to the current value (term)
    when I click the link to the report I get the following value, on the filter view of the report: Term Code Desc is equal to NQ_SESSION.CSA_Analysis_Term
    however if I click the go button in the prompt I get the value: Term Code Desc is equal to 2030 (2011 Spring)
    does anyone have a solution to this issue
    thanks

    Hello,
    Have the same issue. Any solution. Gurus plz help.
    thanks,
    deep

  • Non-system session variable is not initializing

    Hi,
    I have created a non-system session variable using Row wise initialization, and using it in answers to filter a column. it is displaying below error
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 23006] The session variable, NQ_SESSION.Visible_All_Offices1, has no value definition. (HY000)
    I have tried all possible ways like giving the session variable in SQL result set, giving with quotes and without quotes. In all ways it is throwing the same error.
    I think this variable is not getting initialized when starting the session, is there any way to check it. this variable is also not showing in Manage > Sessions > Variables in OBIEE Admin.
    Please reply, if anyone faced similar issue. I am trying this from last 2 days.
    Thanks,
    Ash.

    When you run this sql query against the database, are you seeing results? and why are you using non-system session variables for this? Session variables are usually used to retrieve data into variables based on the user login.
    Check the following things:
    1) In variable target, make sure the row-wise initialization is checked.
    2) Make sure the cache option is UN-checked
    3) Run the sql against the database and make sure it is retrieving results.
    4) Try this in init block:
    select distinct 'Visible_Regions', NVL(Regions, '0') from SH.Regions_Dim A inner join SH.USER_Table B on A.employee_ID = B.employee_ID;
    -Amith.

  • Server hangs and session variable value not maintained.

    dear all,
    this is exteremetly urgent. i upgraded my tomcat to 4.1.24.but i have problems running the same code which was working earlier, i get null in the value of session variable. and also get the following error
    ////////////////error got /////////////
    Compile failed; see the compiler error output for details.
    at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:842)
    at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:682)
    at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:317)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:370)
    at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext
    .java:473)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
    .java:190)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:2
    95)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
    icationFilterChain.java:247)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
    ilterChain.java:193)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
    alve.java:256)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
    t.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
    alve.java:191)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
    t.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:
    2415)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
    ava:180)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
    t.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatche
    rValve.java:171)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
    t.invokeNext(StandardPipeline.java:641)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
    ava:172)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
    t.invokeNext(StandardPipeline.java:641)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
    ve.java:174)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
    t.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:22
    3)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
    :594)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
    ssConnection(Http11Protocol.java:392)
    at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
    :565)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
    ool.java:619)
    at java.lang.Thread.run(Thread.java:536)
    ///////////////end of error messsge ////////////
    the code where i am getting this message is as follows
    <%@ page session="true"%>
    <HTML>
    <HEAD><TITLE> LOGGED IN ok</TITLE> </HEAD>
    <%@ page import="java.sql.*" %>
    <%! // declaring variables
    String s = "";
    java.sql.ResultSet rs=null;
    java.sql.Connection con;
    java.sql.Statement stmt=null,stmt1=null;
    String username = "";
    String password = "";
    String Ousername = "";
    String Opassword = "";
    String changepass="";
    String usertype ="",useremail="",EmpName="";
    %>
    <body>
         <%      
         try
         //set session for max of 100 milliseconds
         // session.setMaxInactiveInterval(10000);
         Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
         con = java.sql.DriverManager.getConnection("jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};" +"DBQ=c:/vishal/HelpDesk.mdb;DriverID=22;READONLY=false","","");
              stmt = con.createStatement();
              s = "select * from LoginUser";     
         username = request.getParameter("LogonId"); //get this through prev. form
         password = request.getParameter("txtPassword");
         out.println(username + " " + password);
         // make explicitly to lower case
         username = username.toLowerCase();
         rs = stmt.executeQuery(s);               
                        while(rs.next())
                        //getting data from database
                        Ousername = rs.getString("EmpName");
                        Opassword = rs.getString("Password");
                        useremail = rs.getString("EmailId");
                        usertype = rs.getString("UserType");     
                        if(Opassword.equals(password) && Ousername.equals(username)) //found match correct entry
                             changepass = request.getParameter("PasswordNew");
                             if(changepass != null)
                             stmt1 = con.createStatement(java.sql.ResultSet.TYPE_SCROLL_INSENSITIVE,java.sql.ResultSet.CONCUR_UPDATABLE);     
                             s = "update LoginUser set Password = '" + changepass + "' where EmpName = '" + username +"'";
                             out.println(s);
                             stmt1.executeUpdate(s);
                             stmt1.close();
                             if(usertype.equals("User") == false)//ie admin
                             session.setAttribute("username",username);     
    ************************this value not maintained *********************
                             session.setAttribute("useremail",useremail);
                             session.setAttribute("usertype",usertype);
    ************************this value not maintained *********************
                             //closing connections
                             %>                                                       
                                  <jsp:forward page= "ComplaintType.jsp" />                         
                             <%
                             else //user
                             EmpName = username;
                             session.setAttribute("EmpName",EmpName);                         
                             session.setAttribute("useremail",useremail);
                             //closing connections
                             %>
                             <jsp:forward page="ComplaintCategory.jsp" />
                             <%     
                             }//end if
                        }//while loop                                   
                        //first closing connections then forwarding                    
         %>
                        <jsp:forward page="InvalidLOGIN.jsp" />
                        <%     
                        ///rs.close();
                        ////closing
                        //stmt.close();
         // con.close();
         }//try
              catch(Exception ep)
              out.println(ep);
              System.exit(1);
         %>
    </BODY>
    </HTML>

    hi all,
    thanx a lot for your help,specially hari52
    hari52 strangely enough the code started working,but
    now i have another problem
    after a while my server hangs or gets shutdown ,a
    message is shown as
    "java.exe has generated error and will be shutdown"
    i know that more connections can be a prob. but i
    make sure that connections r closed on each page,also
    i am a newbie and do not have the time at present to
    learn abt. connection pool ,can this problem be
    solved easily?
    it would be a great help again on your part,
    thanx again,You remove the System.exit(1) line from the code inside the catch block
    and try again. That's the reason tomcat getting down. System.exit(1) should not be used inside jsp. it will make the underlaying Servlet Engine to shutdown.

  • Session Variable is not filtering

    Hi All,
    I have created a seesion variable intialization block using the following query and selected row-wise initialization.
    SELECT 'STATE', CUST_STATE_PROVINCE FROM SH.CUSTOMERS WHERE UPPER(CUST_LAST_NAME) = UPPER(':USER')
    This returns me with the State Province for each user. Now I created a user named 'Walsh' and assigned him to a group and for the group I have given the following filter.
    SH.CUSTOMERS.CUST_STATE_PROVINCE =  VALUEOF(NQ_SESSION."STATE")
    Now, the issue is, when I logged in as 'Walsh' it should show me only states related to this user, but it is showing me all the records, even for other users.
    (I also tried using VALUEOF(NQ_SESSION.STATE) instead of VALUEOF(NQ_SESSION."STATE") but it didn't work)
    What is it that am missing here. Kindly guide me
    Thanks in advance,
    Imtiaz.

    Hi Imtiaz,
    Could you verify that the variable has indeed a value? You could check via the Session Manager in the Admin Tool. You could also check the Query Log to verify whether the Initialization Block is working like expected.
    Thanks.
    Daan Bakboord
    http://obibb.wordpress.com

  • Session variables is not getting updated in JSP

    Hi Floks,
    I had a situation where in i need to populate the drop down depending on the action perfomed by user in menus.
    An action method is triggered to load the scneario specific values to drop down
    here is that
       PSSBuilder pssbuilder = new PSSBuilder();
                pssbuilder.getPlanTypesForCreateScenarioSnapshot(this,"S");
                getCCMPPSessionBean().setSelectedPlanType("0");
                this.getDrpPlanType().setRendered(true);
                this.getLblPlanType().setRendered(true);
                this.getDrpPlanType().setDisabled(false);
                Option[] opt = getCCMPPSessionBean().getPlanTypeOptions();
                Option[] tmp = new Option[opt.length-2];
                int j = 0 ;
                for(int i = 0 ; i < opt.length ; i++){
                     if((opt.getValue().toString().trim()).equalsIgnoreCase("SSMP") ||
                   (opt[i].getValue().toString().trim()).equalsIgnoreCase("SRECON")){
         }else{
              tmp[j] = opt[i];
              j++;
    getCCMPPSessionBean().setPlanTypeOptions(tmp);
    // For debug
              opt = pssDetails.getCCMPPSessionBean().getPlanTypeOptions();
              for (int i = 0; i < opt.length; i++) {
                   CCMPPLogger.getLogger().debug(
                             "Value [ " + opt[i].getValue() + " ] Label [ "
                                       + opt[i].getLabel() + " ]");
    in my JSP im doing this
    <ui:dropDown id="drpPlanType"
                                                                          binding="#{PSSDetails.drpPlanType}"
                                                                               items="#{CCMPPSessionBean.planTypeOptions}"
                                                                               selected="#{CCMPPSessionBean.selectedPlanType}"/> i can see the logs with the values i expected from my action method.
    where as comming to the jsp its showing some other things other than which i see in logs..
    Please help me
    Thanks & Regards,
    Shivaji Byrapaneni.

    hi,
    testdownload.setTocopy(blank);
    check in testdownload class weather setTocopy (..) function is define or not
    public void setTocopy (datatype var)
    }

  • Session variable not storing in custom trigger

    I have a custom trigger in which I want to store a session variable , so i can use the value in the insert transaction which happens after. But for some reason the session variable is not stored, resulting in the data not being stored.
    any clues would help.
    rudi
    here are the relevant code:
    //start Trigger_Custom_Subject_Mentor trigger
    function Trigger_Custom_Subject_Mentor(&$tNG) {
    //Check subject exists
    @session_start();
    $_SESSION['sb_id'] = $subject_id;
    //end Trigger_Custom_Subject_Mentor trigger
    // Make an insert transaction instance
    $ins_share = new tNG_insert($conn_smart);
    $tNGs->addTransaction($ins_share);
    // Register triggers
    $ins_share->registerTrigger("STARTER", "Trigger_Default_Starter", 1, "POST", "KT_Insert1");
    $ins_share->registerTrigger("END", "Trigger_Redirect", 90);
    // Add columns
    $ins_share->setTable("`share`");
    $ins_share->addColumn("share_item", "NUMERIC_TYPE", "POST", "share_item");
    $ins_share->addColumn("share_subject", "NUMERIC_TYPE", "SESSION", "sb_id");
    $ins_share->setPrimaryKey("share_id", "NUMERIC_TYPE");
    // Register triggers
    $ins_share->registerTrigger("STARTER", "Trigger_Default_Starter", 1, "POST", "KT_Insert1");
    $ins_share->registerTrigger("BEFORE", "Trigger_Custom_Subject_Mentor", 50);
    $ins_share->registerTrigger("END", "Trigger_Default_Redirect", 99, "share.php?item_id={share_item}");

    hi User,
    1) Pull a dummy column in Fx use the Session variable --->(Variable -->session )
    2) Next, goto narrative view in Narrative view section use @1
    3) If u want you can hide the column that we created in criteria section

  • Session variable filters in the integration between OBIEE and webcenter

    Hello All,
    I have a customer with the requirement to make sure that reports created in answers and containing sessions variables in filters definition will be correctly filtered once called from webcenter.
    So if an OBI report is diplayed in webcenter and contains the same type of filters (based on session variable), will the results be filtered based on the specified variable?
    In other words can we use session variables in the integration between OBIEE and webcenter?
    Thanks Olayinka

    Have you follow all the steps written here :
    http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/e12188/T421739T475591.htm#T480640
    Do you have create the groups ?
    Do you connect as a member of the group XMLP_ADMIN ?
    Cheers
    Nico

  • Session variable getting reset when leaving dashboard

    I have created a session variable with the 'Enable any user to set the value' option.  I'm using the session variable as the default for a dashboard prompt.  I'm able to set the variable with that  dasboard prompt, and I can confirm that it is indeed getting set properly.  So the interaction of the variable and the prompt seems to be in order.
    After I make a selection from the dashboard prompt, as long as I stay in the dashboard, the session variable stays set to my selection.  I can move from page to page and everything is fine.  The selection stays put as I have set it.  However, the moment I leave the dashboard, the session variable is reinitialized back to its default value as specified by the SQL in its initialization block.  I can go from dashboard to catalog and back to dashboard - boom, it's back to the default.  My selection has been replaced.  ???
    And here's an odd thing:  I can look in the query log and see the initialization block code getting run when I log in.  So far, so good.  I can run the dashboard, make a prompt selection, and see the query log updated just fine.  Still OK.  BUT... when I switch from dashboard to catalog and back to dashboard, the value of the session variable is reset (I see the default month in my analysis and as the prompt default upon redisplay of the dashboard page), but there's no indication in the query log that the initialization block SQL ran again.  The last SQL in the query log still shows my "selected" value in the SQL.  The dashboard page is showing the "default", while the last entry in the query log shows the "selected".
    Can anyone else confirm this odd behavior?  And is there a reason that a session variable should not retain its value throughout the session?  I've always viewed session variables as little buckets of single-cell data whose contents are consistent and static for the duration of a session, unless manually changed by a dashboard prompt.  If the behavior that I'm seeing is both replicatable and expected, it would appear that my understanding is flawed.
    Running 11.1.1.7.0 on Windows Server 2008.  Same behavior is occurring in both Firefox 21 and IE 9.

    Thank you for your answer MK,
    I try to write a SQL in my prompt but not work for me:
    -In default selection I choose SQL Results and I type: Year(Current_date) and save my prompt and I don't see any value in my dashboardpage, if I click in prompt I can see all members of my year dimension but by default is empty.
    I modify the other solution: I have 1hour refresh time and I change for 1 minute, but doesn't work.
    the default initializer is in RPD (variable year that belongs to BI_Year Block) and I have written 2009.

  • Session variables in bi publisher 11g data model

    Hello ,
    I am new to bip data models , i am creating data model using bi answers issued sql query . In that bi answers there is an column containing session variable (nq.session.Currency) . When using column in bip data model . How do i give filter column telling it has session variable and setting the session variable currency as bind parameter .
    Please provide inputs how to use columns containg session variable in bi publisher data model
    Thanks,
    SRIKANTH

    Hi,
    You can use VALUEOF("session_variable_name") in the filter condition in your logical query.
    BR.

  • Help Needed in checking session variable

    In a sample site, I am calling a bounded task flow from an unbounded task flow. In the called taskflow the default activity is a router which checks the session variable, and the home page will be loaded only if the session variable is not null. If session variable is null router will lead to a page dispalying 'session expired'. But even after clearing the session if I copy pasted the previous url, the home page is loading. But when I call bounded taskflow from a bounded taskflow, it is working fine. Can anyone suggest any solution? Thanks in advance

    Thanks for the reply. I'm using jdev 11.1.1.5.0.. I'm just trying with a sample example. I have a login page and when the user logins, the user name is stored in session. the loginpage view activity is in adfc config unbounded taskflow. The login credentials is validated in a backing bean and based on the return value, if the login is valid, a bounded taskflow 'hometaskflow' is called. In this bounded taskflow, the default activity is a router wchich checks the username stored in session. If the username is not null it will lead to the 'homepage' view. Else if it is null it will lead to a 'sessionexpired' view.
    In the java class of login page I'm accessing the session variable as shown
    public Username getSessionBean()
    Username username =
    (Username)resolveExpression("#{Username}");
    return username;
    public static Object resolveExpression(String expression)
    FacesContext facesContext = FacesContext.getCurrentInstance();
    Application app = facesContext.getApplication();
    ExpressionFactory elFactory = app.getExpressionFactory();
    ELContext elContext = facesContext.getELContext();
    ValueExpression valueExp =
    elFactory.createValueExpression(elContext, expression,
    Object.class);
    return valueExp.getValue(elContext);
    On login button click the function being executed is as shown
    public String onLoginClick() {
    if(String.valueOf(itUserName.getValue()).equals("admin")
    && String.valueOf(itPassword.getValue()).equals("admin"))
    Username username=getSessionBean();
    username.setUsername(itUserName.getValue().toString());
    return "success";
    else {
    return "invalid";
    And to set username as null on logout, I used this function on logout click
    public void clearSession()
    Username username=getSessionBean();
    username.setUsername(null);
    The EL expression used to check the value of session variable is
    #{sessionScope.Username.username==null} outcome is expired
    #{sessionScope.Username.username!=null} outcome is active
    This worked when I used in a bounded taskflow, which is being called from another bounded taskflow. But not working in this scenario...

  • Session variables being lost

    In my onApplicationStart method (which should tell you I'm
    using an Application.cfC, not cfM), I have a cfif loop that passes
    a value to a custom tag and returns a form variable. I'm then
    reassigning that variable to a session variable. In IE, this works
    just fine; in Firefox, though, the session variable is NOT being
    set.
    What might be causing this, and is there a workaround?

    The issue referred to an external CF custom tag, which called
    another demo application to set a testing user. However, after
    further testing, I realize that demo app won't function properly
    with this application, so I've removed it.
    Authentication is being set by an LDAP query; this
    application that I am working on is going to be a sub-application
    of a larger application, and the authenticated user is being set as
    a session variable as well (I think...). However, I'm creating a
    new session variable for this application, and simply passing the
    authenticated user into my app (the outer app uses the variable
    auth_user; I'm using the variable authuser, so there is no name
    conflict).
    Again, it is IE that is not persisting the session. Firefox
    is doing so. I have looked in the advanced settings for IE, and
    there is nothing about persisting session variables to check or
    uncheck. Also, this application will probably be used mostly by
    users using IE 6 with default settings, so I'm going to need to
    find a workaround for IE.
    Your help is most appreciated.

  • Losing a session variable!

    I have a Cold Fusion module being called from an Authorware
    piece. The module is called twice. The first time is when the
    course is started for the first time, where it sets a session
    variable to the current date and time and adds a record to the
    course table, and the second time is if the user gets a passing
    score on the quiz, at which time the completion time and a passed
    indicator is added. The first time, the URL being called is:
    http://servername/courses/RecordCourse.cfm?CourseID=TestCourse&userid=smith&coursemode=new
    The second time, the URL being called is:
    http://servername/courses/RecordCourse.cfm?CourseID=TestCourse&userid=smith&passfail=P&cou rsemode=complete
    Yet the second time the file is called, the session variable
    is not found.
    But here's the kicker -- it's only on our production server.
    On our development server, it works like a charm. On the production
    server, the second time in doesn't seem to keep the session
    variable. Both servers are running CFMX 7 Standard Edition.
    Are there any settings between the two servers that I should
    be looking for? And more specifically to session variables, do the
    two calls to the same module qualify as two sessions? Shouldn't the
    session variable be retained as long as the browser window is open
    and the timeout has not been reached (yes, session management is
    set on in the application.cfm).
    The code is:

    This is part of a larger application (our intranet). The
    overall application.cfm has the following as the first line:
    <CFAPPLICATION NAME="OurIntranet" SESSIONMANAGEMENT="Yes"
    SESSIONTIMEOUT= #CreateTimeSpan(0, 6, 0, 0)# >
    We use session variables all over the place in the various
    applications on our intranet.

Maybe you are looking for

  • Error while cancelling the Invoice

    Dear Gurus The Billing document was raised on a wrong customer on may month. Now that was realized, and that invoice was canceled but wrongly the date was given as may month. The FI period was closed for may month and the current period is july. So t

  • Recreate SAP and database services in Windows

    Hi! I'm running my sandbox in a wmware enviroment and yesterday the C: partion got corrupted and I managed to "save" the other drives where the SAP and database are installed. Is there any way to recreate the SAP and database services in another Wind

  • Sharing an edited video on another computer

    I am editing video to be used in a PowerPoint presentation. The video needs to be saved in a format that will be viewable on any random cumputer that I load up the ppt file. The problem is that when I export and save the videos I can only view them o

  • Secondary Indexes

    Hi experts, I need to have an opinion on the following for performance tuning. Actually a report was taking long time fetching entries from the tables, so secondary index are created for BSAD, BSID, BSAK and BSIK tables, and reduced the time from 8 h

  • Not able to connect to the EAS using web application

    Hello I've upgraded Essasbe from 11.1.1.3 to 11.1.1.4. Before the upgrade am able to login into the EAS web application using the But after the upgrade to 11.1.1.4 am not able to login using the above said hostname but rather with the the new My ques