Testing sessions

Is there a way to test (at regular intervals) if a user session still exists without refreshing it?

If you are talking about having the client check the session then the answer is no. An alternative is to use a JavaScript timer or a location refresh meta-data tag that is set for a time one or two minutes earlier that the session time out

Similar Messages

  • How to start with id or ps? i joined cc after test session

    i apologize for my bad english, i'm german and in a hurry and i can't find any german support number or chat... I need help with starting photoshop and indesign. i tried the test versions for the last 30 days. now i like to go on working. after joining this morning the cc with a 12month membership it's still not possible to start ps neither id. i get the note: test session over. downloading it once more with the app manager doesn't work neither. i get the note: already installed, actual version...
    what to do?? thank you

    Please try the following:
    1) Quit all Adobe apps.
    2) Launch/Open Adobe Creative Cloud App
    3) Go to Preference > Account and choose 'Sign out form Creative Cloud'
    4) Sign out and then sign in again
    5) Try Launching Photoshop/Indesign now.
    Regards
    Pragya

  • Web trx: edit service test session parameters - separator?

    EM 10.2...
    I'm trying to monitor performance of Oracle iProcurement, and the tech stack it uses (OA Framework) employs multiple session parameters (or mutiple names for the same one) -- transaction_id and _tid .
    So I need to use both of these as session parameters. Anyone know the separator I need between these two values?
    What I'd also prefer to do is to get the transaction id value from the signon (after navigating the the application's home page) and then to use that value for both the transaction_id parameter and the _tid parameter.
    Thanks!
    Message was edited by:
    dmerrill

    I would like to be able to assist, but I would need to set up a test environment to try to replicate the issue you are encountering. Do you have a Visual Studio project that you can share so I can try to set up this environment?
    Regards,
    Jason

  • Unit Testing and Oracle Sessions

    We have an issue regarding Oracle session and SQL Developer Unit Testing.
    Every time we run a Unit Test in SQLDeveloper a new Oracle session is created. When closing that Unit Test, the session, however, is not disconnected.
    And the only way to close that "Unit Test" session is to close SQLDeveloper.
    This is causing problems with the no. of sessions available to developers.
    Any help would be much appreciated.
    Subboss

    The focus of this forum is report design. The actual testing of reports would be subject to your own internal policies and procedures.
    Jason

  • Problem at 'Extension Stores' of Sessions in Collaboration room template

    Hi, ALL:
    I make a change on 'Persistence Mode' of 'Session' from DB to FSDB. But, after create a test session to validate setting properly or not. Session record still save in the original KM folder (root\sessiondata), not in the specific folder. I apply the same setting to the other item (Documents, News) on the duplicated template (duplicate from build-in template SAP_Project_Template_2), I can see the file on the folder.
    Any advice would be very appreciated.

    Hi Ravindrakvs,
    cRoom templates are defined in portal.
    Check with your portal team. They can provide you the path and details of cRoom templates.
    Cheers
    Amit

  • How to import all of DV tape from camcorder with iDVD not just 1st session

    We're trying to lift the video off a Sony DV camera via firewire onto a mac mini, the recorded material is in several sessions of recording. Using iDVD's OneStep DVD this first session is imported from the camera and a DVD created with several loops of the same session. It doesn't record the remaining 40+ minutes off the camera, just the first 48s test session.
    How can we get the whole tape onto the DVD ?

    Another choice is to make a one step from a QT movie you already have downloaded into iMovie or to the desktop (that is is if the one step approach is critical to your work). If not, then i'd simply use iM6 as suggested above which frankly is your best bet.
    Burning a OneStep DVD from a movie on your hard disk
    You can burn a OneStep DVD from a movie on your hard disk, skipping the creative process involved in creating menus, modifying themes, and so on. When you insert the burned disc into a DVD player or a computer, the disc plays automatically.
    To burn a OneStep DVD from a movie on your hard disk:
    With iDVD open, choose File > “OneStep DVD from Movie.”
    Locate the movie you want to add in the dialog that opens, then click Import.
    Insert a blank DVD disc into your computer’s SuperDrive or an external drive when you are prompted to do so.

  • How to get from data entered on a form to a session attribute

    I have a jsp with a form with fields that are updated by the user.
    The values are in the fields value as I expected.
    Example. document.frm.Name.value = "Me"
    How do I populate a session variable with document.frm.Name.value?
    I think I have to do a request.getParameter("Name") followed by a
    session.SetAttribute. But the request.getParameter does not get populated with the latest value in document.frm.Name.value.
    Any idea is welcomed. Thanks
    Claudiine

    Below is the code:
    What I want to do is save in the session attribute "mailToAddressList" whatever the user types in the textarea "MailTo"
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.util.*;
    import java.sql.*;
    import java.text.*;
    import java.io.*;
    import com.cname.apl.*;
    public class DealTeamServlet extends HttpServlet {
    private appUtil util ;
    private java.sql.Connection conn ;
    private static String dbUrl ;
    private static String dbUid ;
    private static String dbPwd ;
    private static String mailFromAddressList ;
    private static String mailToAddressList ;
    private static String mailCcAddressList ;
    private static String mailBccAddressList ;
    private static String mailSubject ;
    SimpleDateFormat SDF = new SimpleDateFormat("d-MMM-yyyy");
    public void init(ServletConfig config) throws ServletException {
    super.init(config);
    dbUrl = config.getInitParameter("dbUrl");
    dbUid = config.getInitParameter("dbUid");
    dbPwd = config.getInitParameter("dbPwd");
    mailFromAddressList = config.getInitParameter("mailFromAddressList");
    mailToAddressList = config.getInitParameter("mailToAddressList");
    mailCcAddressList = config.getInitParameter("mailCcAddressList");
    mailBccAddressList = config.getInitParameter("mailBccAddressList");
    mailSubject = config.getInitParameter("mailSubject");
    if (dbUrl == null)
    dbUrl = "*" ;
    if (dbUid == null)
    dbUid = "*" ;
    if (dbPwd == null)
    dbPwd = "*" ;
    if (mailFromAddressList == null || mailFromAddressList.equals("*"))
    mailFromAddressList = "" ;
    if (mailToAddressList == null || mailToAddressList.equals("*"))
    mailToAddressList = "" ;
    if (mailCcAddressList == null || mailCcAddressList.equals("*"))
    mailCcAddressList = "" ;
    if (mailBccAddressList == null || mailBccAddressList.equals("*"))
    mailBccAddressList = "" ;
    if (mailSubject == null || mailSubject.equals("*"))
    mailSubject = "" ;
    protected void processRequest(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, java.io.IOException {
    HttpSession session = request.getSession(true) ;
    String msgBody = (String) request.getParameter("msgBody");
    String uid = (String) request.getParameter("uid");
    String key = (String) request.getParameter("key");
    Boolean isAuthorized = (Boolean) session.getAttribute("isAuthorized");
    java.io.PrintWriter out = response.getWriter();
    if (msgBody == null) msgBody = "" ;
    response.setContentType("text/html");
    if (uid == null || key == null) {
    isAuthorized = new Boolean(false);
    if ( isAuthorized == null ) {
    util = new appUtil();
    conn = util.getConnection(dbUrl, dbUid, dbPwd) ;
    isAuthorized = util.isAuthorized(conn, uid, key);
    util.closeConnection(conn) ;
    if ( isAuthorized.booleanValue() ) {
    session.setAttribute("isAuthorized", new Boolean(true));
    java.sql.Timestamp serverTime = util.getServerTime(conn) ;
    java.sql.Date now = new java.sql.Date(serverTime.getTime());
    int idEntry = Integer.parseInt(msgBody);
    mailToAddressList = request.getParameter("MailTo");
    out.println("<html>");
    out.println("<head>");
    out.println("<title>Team Members</title>");
    out.println("<SCRIPT LANGUAGE=JavaScript>");
    out.println("function open_window() {");
    out.println("document.domain = \"ny.cname.com\"");
    out.println("var loc = \"http://peoplelkp.ny.cname.com/peoplelkp/PDLookupService?&emil2=eMail&form=frm&launch=myRoutine()&csr=1&srch=1&adv=1&wc=y&pump=\"");
    out.println("loc = loc + document.frm.Name.value");
    out.println("var w = window.open(loc,\"Model_Details\",\"scrollbars,width=400,height=450,resizable=yes\")");
    out.println("return;");
    out.println("}");
    out.println("function myRoutine() {");
    out.println("document.frm.MailTo.value=document.frm.MailTo.value+\",\"+document.frm.eMail.value;");
    out.println("}");
    out.println("function submitForm() {");
    out.println("alert('submit form')");
    out.println("var mailAdd = document.frm.MailTo.value");
    out.println("alert('mailAdd='+mailAdd);");
    out.println("if ( mailAdd.length == 0 || mailAdd.indexOf(' ') == 0 || mailAdd.indexOf('.com') == -1 || mailAdd.indexOf('@') == -1 ) {" );
    out.println("alert('The To: field must be populated. No space are allowed. Email addresses must have valid format. Example: [email protected]')");
    out.println("document.all.frm.MailTo.focus();");
    out.println("return false;");
    out.println("}");
    out.println("return true;");
    out.println("}");
    out.println("function UpdateMailTo() {");
    out.println("alert ('I am in UpdateMailTo='+document.frm.MailTo.value);");
    out.println("}");
    out.println("</SCRIPT>");
    out.println(util.getStyleSheet());
    out.println("</head>");
    out.println("<body bgcolor='silver'>");
    out.println("<form name='frm' action='SendMail' method='post'>");
    out.println("<b>Team Members</b>");
    out.println("<tr>");
    out.println("<TABLE cellpadding='0' cellspacing='0' border='0'>");
    out.println("<tr>");
    out.println("<td align='right'><b>Subject:  </b></td>");
    out.println("<td>Deal Team Members Cleared by Conflicts</td>");
    out.println("</tr><br>");
    StringBuffer bod = new StringBuffer("");
    SimpleDateFormat SDF = new SimpleDateFormat("d-MMM-yyyy");
    try {
    /*get header information*/
    CallableStatement st = conn.prepareCall("{call apl_get_sp ?}");
    st.setInt(1, idEntry);
    ResultSet rs = st.executeQuery();
    int id = 0;
    int dw = 0;
    String cde_proj = "";
    String nm_title = "";
    String nm_long = "";
    String empl = "";
    String sid = "";
    int userid = 0;
    String email_pr = "";
    while ( rs.next() ) {
    id = rs.getInt("id_entry");
    dw = rs.getInt("id_dealworks");
    cde_proj = rs.getString("cde_proj");
    nm_title = rs.getString("nm_title");
    nm_long = rs.getString("nm_long");
    empl = rs.getString("empl_name");
    sid = rs.getString("id_standard");
    email_pr = rs.getString("id_email_ext_unix");
    mailToAddressList = email_pr.trim();
    out.println("<tr><td align='right'><b>To:  </b></td>");
    out.println("<td><textarea name='MailTo' cols='50' rows='2'>"+mailToAddressList+ "</textarea></td>");
    out.println("<td>  </td>");
    out.println("<td><input type='button' value='Save' onClick='UpdateMailTo()'></td>");
    out.println("</tr>");
    // out.println("request.setAttribute('mailadd',document.frm.MailTo.value);");
    // mailToAddressList = request.getParameter("mailadd");
    out.println("<tr><td align='right'><b>Name:  </b></td>");
    out.println("<td><INPUT NAME='Name' VALUE='' size=65 ></td>");
    out.println("<td>  </td>");
    out.println("<td><input type='button' value='Search' onClick='open_window()'></td>");
    out.println("</tr>");
    out.println("<tr><td align='right'><b>EMail:  </b></td>");
    out.println("<td><INPUT NAME='eMail' VALUE='' size=65'></td>");
    out.println("</tr>");
    if (rslt != null) rslt.close() ;
    if (stmt != null) stmt.close() ;
    }/*end try*/
    catch ( Exception e) {
    System.out.println(e) ;
    getServletContext().log(e.toString());
    out.println("<td colspan='5' align='right'><input type='submit' value='Send email' onClick='submitForm()'></td>");
    out.println("</tr>");
    out.println("</table>");
    out.println("</form>");
    out.println("</body>");
    out.println("</html>");
    mailSubject = "Team Members";
    String body = "testing";
    session.setAttribute("mailFromAddressList", mailFromAddressList);
    session.setAttribute("mailToAddressList", mailToAddressList);
    session.setAttribute("mailCcAddressList", mailCcAddressList);
    session.setAttribute("mailBccAddressList", mailBccAddressList);
    session.setAttribute("mailSubject", mailSubject);
    session.setAttribute("mailBody", body);
    else {
    session.setAttribute("isAuthorized", new Boolean(false));
    out.println("You are not authorized.");
    //out.close();
    protected void doGet(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, java.io.IOException {
    processRequest(request, response);
    protected void doPost(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, java.io.IOException {
    processRequest(request, response);
    public String getServletInfo() {
    return "Short description";
    }

  • Exploratory testing - is there a way to link test runs to existing bugs

    Hi,
    We have a number of bugs which we are testing prior to business users performing their testing and signing off the bugs.  We dont have the time to write detailed scripts and are just performing a sense check that the fixes have been applied.  We
    have been recording our actions using the exploratory testing funtion in Test manager 2013.  Is there a way to link exploratory test session to existing bugs?
    Thanks.

    Hi,
    As far as I know, we can’t link the existing bug to the exploratory test session in MTM, we could link the bug to test case that created during exploratory test.
    I suggest that, you could submit this feature request:
    http://visualstudio.uservoice.com/forums/121579-visual-studio. The Visual Studio product team is listening to user voice there. You can send your idea there so the others can vote it. If you submit this suggestion, you might post that link here which will
    benefit others who has the similar issue.
    Regards
    Starain
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Stopping a batch Input  session

    Hi,
    I need to stop a job which is being processed. Please tel me how do i acheive this.
    I've tried SM37 & went for release but it says 'cannot be done because of the stattus it has'
    I've also tried to stop the batch using the push button in Appl tool bar in SM37 but still i have the same message.

    Hi..,
    In the BDC_OKCODE,
    give <b>/n</b> to stop that particular transaction...
    give <b>/bend</b> to quit the entire Session....
    You can interrupt the interactive execution of a session by entering the<b> /bend</b> OK code on any screen. <b>/bend </b>terminates the transaction currently being executed in the session and marks the transaction with the status Incorrect. The session is kept in the queue and is displayed in the Errors section of the list. Changes made by the interrupted transaction are rolled back as long as the transaction uses only the R/3 update facility. Direct database changes made by the transaction are not rolled back.
    You can use <b>/bend</b> when testing sessions. For example, you may wish to run the first transactions of a large session in display-all mode to make sure that the session has been generated correctly.
    You can restart processing of a transaction by entering the <b>/bbeg</b> OK code on any screen. <b>/bbeg </b>terminates the transaction that is currently being processed and then restarts the transaction fresh, as it is recorded in the batch input session. Any changes made by the transaction are rolled back, as long as they were made only by way of the R/3 update facility. Changes made directly to the database are not rolled back.
    You can delete a transaction from a session during interactive execution by entering the <b>/bdel</b> OK code. The transaction is removed from the session. The deleted transaction cannot be run even if you restart the session, and you cannot take back the deletion.
    regards,
    sai ramesh
    Message was edited by:
            Sai ramesh

  • Testing MRP scope of planning and MRP lists

    Hi,
          I am configuring the scope of planning and want to know how can I test if the planning is happening in the sequence as specified in the scope of planning. I would have around 20 plants in the scope. I thought of going after the time stamp on the receipts created by the system. Is there any table like MDKP which can show me the sequence of planning ?
    Also what is the use oif the tcode MD08.... delete MRP lists ? what is the use of deleting these lists besides keeping the system clean
    Thanks

    Hi
    Reorganization of the MRP Lists - MD08
    A report is available for reorganizing the MRP lists which you can find in the menu for MRP under the menu option, Environment. If you enter the selection criteria, plant, material, and MRP date, the system deletes all the MRP lists from the database that are no longer required.This report can also be started in a test session and you can instruct the system to print out a list of all the deleted MRP lists.
    Further
    Deleting MRP Lists - Manually in MD05
    If the MRP list is no longer required, you can delete it manually. In order to do this, choose MRP list ® Delete document. The MRP list will be deleted.If you do not delete the MRP list manually, it is stored in the system until a new MRP list is created by a further planning run.
    regrads
    muthuraman.d

  • Loosing session

    I created 2 very simple files and trying to set session attribute in one of them and retrieve it in the next one. There is a link from the first to the second.
    I always get new session in the second JSP.
    Source of the 1st file :
    <%@ page import="java.sql.*"%>
    <%@ page import="java.lang.*"%>
    <%@ page import="java.io.*" %>
    <%@ page import="java.net.URLEncoder" %>
    <%@ page import="java.util.*" %>
    <%@ page import="javax.servlet.*" %>
    <%@ page import="javax.servlet.jsp.*" %>
    <%@ page session="true"%>
    <%
    session.setAttribute("test_attr","_data_sample");
    %>
    <html>
    <head>
    </head>
    <body>
    <%
    String in_session = (String)session.getAttribute("test_attr");
    out.println("Session attribute value is : " + in_session + "<br>");
    out.println("Session ID : " + session.getId() + "<br>");
    out.println("Is Session new : " + session.isNew());
    session = request.getSession(true);
    out.println("Did we join the session : " + session.isNew());
    %>
    Click here
    </body>
    </html>
    source of the 2nd JSP :
    <%@ page import="java.sql.*"%>
    <%@ page import="java.lang.*"%>
    <%@ page import="java.io.*" %>
    <%@ page import="java.net.URLEncoder" %>
    <%@ page import="java.util.*" %>
    <%@ page import="javax.servlet.*" %>
    <%@ page import="javax.servlet.jsp.*" %>
    <%
    session = request.getSession(true);
    String new_str = (String)session.getAttribute("test_attr");
    out.println("Test session value : " + new_str + "<br>");
    out.println("Session ID : " + session.getId() + "<br>");
    out.println("Is Session new : " + session.isNew());
    %>

    Put session.setAttibute after html tag in first page, sometimes work :D

  • Handling an expired session

    Hi.
    So I would like to show the user a "you have been logged out
    due to inactivity" page.
    How can I go about doing this? Apparently the onSessionEnd
    method can not be used.
    Thank you guys!
    -Gary

    check the developer's exchange. I remember seeing a tag for
    this. it has to due with the client side script. the session
    management times out after the broswer is closed and sessionend
    needs to be activated.
    if I remember, the tag runs the script with the variable
    timer. you then put a 'test session' variable on each page with the
    redirect if it's outside the time. you can also use a db to store
    the timestamp of each page load in the session and then compare the
    next page load time to the stored time stamp. If it's outside your
    timeframe, you can redirect. If it's inside your timeframe, update
    the stored time stamp.

  • Session BUG, when filter includes servlet

    I have write the simplest ear for testing session on OracleAS http://exoplatform.com.ua/exoplatform.ear
    Explanation of problem:
    When I trigger URL http://localhost:8888/testwebapp1/ the filter MyFilter invokes servlet MyServletInvoke.
    At first time of include MyServletInvoke sets attribute to session which dosen't appear at second time.
    exoplatform.ear
    ---testwebapp1.war
    ------src/java/org/exoplatform/MyFilter.java
    ------src/webapp/WEB-INF/index.jsp
    ---testwebapp2.war
    ------src/java/org/exoplatform/MyServletInvoke.java
    PAY ATTENTION! Provide me info if it configurable problem or solve it if this a bug.

    Hi, Frank
    Indeed, it happens when I call servlet from other .war file.
    Did you try setting the attribute in the servlet filter ?Yes, I tried setting the attribute in the servlet filter - it works.
    Did you check if the called servlet creates a new session ?Yes, I checked. The called servlet creates a new session.
    Sources:
    http://exoplatform.com.ua/MyFilter.java
    http://exoplatform.com.ua/MyServletInvoke.java
    Alexey
    http://zavizionov.blogspot.com/

  • Very imp testing

    what does it mean by regression testing.

    Hi,
    Regression testing means rerunning test cases from existing test suites to build confidence that software changes have no unintended side-effects. The u201Cidealu201D process would be to create an extensive test suite and run it after each and every change. Unfortunately, for many projects this is just impossible because test suites are too large, because changes come in too fast, because humans are in the testing loop, because scarce, highly in-demand simulation laboratories are needed, or because testing must be done on many different hardware and OS platforms.
    Researchers have tried to make regression testing more effective and efficient by developing regression test selection (RTS) techniques, but many problem remain, such as:
    Unpredictable performance. RTS techniques sometimes save time and money, but they sometimes select most or all of the original test cases. Thus, developers using RTS techniques can find themselves worse off for having done so.
    Incompatible process assumptions. Testing time is often limited (e.g., must be done overnight). RTS techniques do not consider such constraints and, therefore, can and do select more test cases than can be run.
    Inappropriate evaluation models. RTS techniques try to maximize average regression testing performance rather than optimize aggregate performance over many testing sessions. However, companies that test frequently might accept less effective, but cheaper individual testing sessions if the system would, nonetheless, be well-tested over some short period of time.
    Some strategies and factors to consider during this process include the following:
    Test fixed bugs promptly. The programmer might have handled the symptoms but not have gotten to the underlying cause.
    Watch for side effects of fixes. The bug itself might be fixed but the fix might create other bugs.
    Write a regression test for each bug fixed.
    If two or more tests are similar, determine which is less effective and get rid of it.
    Identify tests that the program consistently passes and archive them.
    Focus on functional issues, not those related to design.
    Make changes (small and large) to data and find any resulting corruption.
    Trace the effects of the changes on program memory.
    Also see http://en.wikipedia.org/wiki/Regression_testing
    Thanks & Regards,
    raju

  • Session tracking (Servlets)

    The Problem..
    I have a login web-page which requests a username and password. The fields are then checked by a servlet which queries an Access Database. If the username and password are valid, the servlet redirects the browser to the main option page.
    I can create a new session in the Login Servlet which stores the username and password, but when the browser moves to the main options page, how do I recover the data (using a different servlet) that was added to the session object during the login procedure. For example, say Fred Smith logged in on the login page, when the browser is redirected to the main options page I want to print "Hello Fred Smith", presumably this information can be recovered from the session object that was created in the login servlet.
    Can anyone help? Thanks very much,
    Andy.

    Hi manalar, thanks for the reply,
    I tried this but I'm just getting a null reference returned. This is the code that I'm using in the login servlet:
    String username = req.getParameter( "Username" );
    // from the textbox on the web-page
    HttpSession session = req.getSession(true);
    // create a new session
    session.putValue("Logon.ok", username);
    and this is the code in my other servlet:
    HttpSession session = req.getSession(true);
    Object test = session.getValue("Logon.ok");
    String testString = (String) test;
    testString is assigned a null value, any ideas?
    Thanks in advance,
    Andy

Maybe you are looking for

  • Use of US Apple TV in Europe?

    Would an Apple TV purchased in the US work correctly in Europe? I specifically concerned about the power supply (i.e. 110v/60Hz vs 220v/50Hz) - can the US model handle 220v? I would buy one here, but the pricing is criminal - to buy an Apple TV in th

  • How to tranport ABAP program?

    I changed the include X (needed for report Y). How I can tranport the include X from Dev system to QA system? When I go to Adminstrator Workbench: Transport connection I can see All Object but which of them should I use to add ABAP program to be tran

  • Procurement scenario with delivery Schedule

    Hello experts, In this case we have a purchase order that count with Delivery Schedule, in this case 4 planned deliveries, every one with this specific delivery date and Quantity. Now we going to create an Inbound delivery and the goods receipt, only

  • Same Song On All Pages

    Hi, A client wants me to put music on his website. He wants it setup so that when people come they get music, and then when they click to another page (on the his site, not a different site), the music keeps playing, rather than starts again. What is

  • 8830 verizon and version 4.5

    I found this link for device os 4.5 does anyone know if it will work? http://rapidshare.com/files/124939727/8330CDMA_Public_4.5.0_rel48_4.5.0.33.exe