Session in browser

I have few users having session timed out right after they
logged in. I don't know the reason why it happens. But when i asked
the user to switch to another browser or login using another
computer, they do not have problem again. But if they still keep
using the same type of browser, it is still there. Could someone
help me out? Thanks.

quote:
Originally posted by:
CFMLGreenThumb
thank you. so, how could I detect if user are block or
disabled cookies.
In general, you can not directly test for this. You can have
initial access to the site jump through a couple of pages using
session variables to see if it stays recorded or not, but that is
inefficient and is not foolproof. Ultimately, if anyone blocks
session cookies they are not doing too much on most dynamic
websites.
quote:
and how could I warn the user that they have to allow
cookies.
thanks.
On the entry page to the site, place a disclaimer at the
bottom (i.e. in footer) stating that the site uses session cookies.
If you are setting sessions as part of a login page or something,
place the disclaimer front and centre underneath the login form so
it stands out.
Ultimately, it is the answer you will give people when they
write for support.

Similar Messages

  • Calling an URL/Hyperlink in new session on browse from button.

    Dear experts!
    I created a Z program on SAP GUI, and configured the logical link for this program and call it from Web UI Client. In component BTCUSTOMER_H, i redefined DO_PREPARE_OUTPUT to maintained a button called 'FORWARD'. I create method EN_ONFORWARD to process. My problem is: on component BTCUSTOMER_H, when i click on FORWARD button, a new session on browse appear and display the Z program above or navigate to my Z program ( i can navigate to a standard transaction for example: from an Opportunity, i can maintain a button and navigate to a SaleOrder by click to this button). When i searched on forum, i found some thread said about this problem but i still can not resolve my problem. Can any one show me the details, how i configure for the Z program and processing code in method EH_ONFORWARD to resolve my problem.
    Can anyone help me, please!
    Longnd.

    Hi,
    Please follow the steps for calling you logical link.
    When you create a Logical Link, you also should give the Target ID.
    Now In the Naivigation Bar Profile you will have some thing called as Define Geniric OP Mapping
    Here add a entrty with any Name , and give your target ID here.
    For eg : ZCall_ZREPORT :Target Id ; Given in the step 1.
    And in you even handler of the button write the followng code.
      DATA: lr_nav_descr    TYPE REF TO if_bol_bo_property_access.
      DATA:  lr_navigation  TYPE REF TO if_crm_ui_navigation_service.
      DATA: lr_col          TYPE REF TO cl_crm_bol_bo_col.
      cl_crm_ui_descriptor_obj_srv=>create_ui_object_based(
        EXPORTING iv_ui_object_type   = ZCall_ZREPORT
                  iv_ui_object_action = 'B'
        RECEIVING rr_result           = lr_nav_descr ).
      CHECK lr_nav_descr IS BOUND.
      lr_navigation = cl_crm_ui_navigation_service=>get_instance( ).
      CHECK lr_navigation IS BOUND.
    Check whether navigation is supported
      IF lr_navigation->is_dynamic_nav_supported( lr_nav_descr ) NE abap_true.
        RETURN.
      ELSE.
        CREATE OBJECT lr_col.
        lr_col->if_bol_bo_col~add( iv_entity = lr_nav_descr ).
        lr_navigation->navigate_dynamically( lr_col ).

  • How to kill session on browser close

    Can anyone tell me, how to invalidate the session on browser closes. I am using Internet Explorer as
    browser.

    Hi anmol10
    if evnafets is to be believed, there is no 100% surefire way to do this. This is doing my head in a bit - I refuse to believe that there isn't some way around this.
    I've been trying all kinds of things, kicking off threads that keep track of the sessions etc, but to no avail.
    Let us know if you think of anything!

  • Maintaining different sessions in browser tabs in ADF 11g application

    I have a simple ADF 11g application which uses ADF BC 11g.
    I want to maintain different sessions between the tabs in the same browser.
    Currently it is messing up with session variables. Please reply to me ASAP.
    Thanks,
    Bobby
    Edited by: 866444 on Jun 16, 2011 11:35 AM

    Assuming you are having problems because of the usage of JSF Session scope beans, then the answer is to use pageFlowScope for that set of data - then it is not shared between tabs.

  • Session Management / Browser WindowID

    Hi, here is my problem:
    is it possible to gernate a session for each Browser-Window. I want to show different Content in BrowserWindows but i only can create one session. WinNT/98/XP handles a new BrowserWindow not as a seperate Process/Task. So the WebServer does not know which Window the request comes from.
    My actual solution is, that i create a different WinID via JavaScript for each Window and send it to the WebServer. I store the WinID in the Session so that the application knows, which WinID belongs to a BrowserWindow (and its Content).
    Is it possible to do this with no javascript, for example URL-rewriting etc....????
    thx

    I already use the HTTPSession object to save data from the application in a session. The problem is that i get the the IP of the client (in Request Header Fields), but i dont get a unique WindowID of the ClientWindow who send a request.
    I can get the Client IP, the User-Agent, the Proxy-Authorization . . . . all out of the Request Header Fields, but not the Window. :-(

  • Is it possible to get a unique session per browser window?

    I'm playing with the idea that each browser window may have it's own unique session.
    So, if I have two or more IE browsers open and I point each one at my web site, I want each window
    to maintain their own session id. Same if I have two or more Firefox browsers open, etc ...
    I see a sesion id is stored in the JSESSIONID cookie. It seems browsers of the same make share this cookie.
    So, you cannot keep sessions separate. Is there a way to get around this?
    Why do these sessions need to be shared across browser windows of the same make?

    Oh! Unfortunately, cookiepie is not what I'm seeking.
    How about managing the session without the JSESSIONID cookie?
    Can't the session id be put in the url? Is that a security risk? Even for https?

  • Ending a session on browser close only (firefox)

    I'm trying to end a user's session when they close the browser, because they never logout properly.
    I need to change a value in the db after they close the browser only.
    <script type ="text/javascript" >
    var clicked = false;
    var xmlHttp
    var browser = navigator.appName;
    function CheckBrowser() {
    if (clicked == false) {
    xmlHttp = GetXmlHttpObject();
    xmlHttp.open("GET", "../LogOut.aspx", true);
    xmlHttp.onreadystatechange = function () {
    if (xmlHttp.readyState == 4) {
    //alert(xmlhttp.responseText)
    xmlHttp.send(null)
    if (browser == "Netscape")
    alert("Nog een fijne dag.");
    else {
    //alert("Redirected");
    clicked = false;
    function GetXmlHttpObject() {
    var xmlHttp = null;
    try {
    // Firefox, Opera 8.0+, Safari
    xmlHttp = new XMLHttpRequest();
    catch (e) {
    //Internet Explorer
    try {
    xmlHttp = new ActiveXObject("Msxml2.XMLHTTP");
    catch (e) {
    xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
    return xmlHttp;
    </script>
    That works for every browser except firefox.
    Please help me with this.
    Grant

    Hi MrFunktastic,
    This is not the right forum for your question, the
    javascript section of ASP.NET forums may provide you more help.
    Thank you!
    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.

  • Is Flex Session Tracking browser compatible?

    I have implemented Flex Session Tracking it works fine with
    Internet Explorwer browser but it does not work with Mozilla? Is it
    not browser compatible?

    Is it possible for you to send me your session tracking
    codes, bcoz im also doing session tracking.
    thanks

  • IPlanet Messaging Server -- kill session at browser close

    iPlanet Messaging Server 5.2 HotFix 2.09
    We found a potential security risk.
    When a person loads Messenger Express through the web and closes their browser, another person can come in behind them and resume the previous persons session. This is accomplished by going through the browser history and accessing any of the links that point inside the mail client.
    When the browser closes, the session isnt killed. Its only killed/inaccessible if the user times out or clicks log-out. We've tested this on just about any browser we can get our hands on.
    Is there a fix/patch/workaround for this? I've combed the documentation and the site and can find nothing.
    We are using the product in an University environment and this can be particularly nasty in the labs.
    Thanks!

    iPlanet Messaging Server 5.2 HotFix 2.09
    We found a potential security risk.
    When a person loads Messenger Express through the web
    and closes their browser, another person can come in
    behind them and resume the previous persons session.
    This is accomplished by going through the browser
    history and accessing any of the links that point
    inside the mail client.Yep. that's true. And, it 's not possible to "fix" that. The reason it cannot be fixed, is that http is stateless. The server can't know when you simply close a browser, instead of you still being there.
    There is an idletimeout that defaults to 10 minutes.
    >
    When the browser closes, the session isnt killed. Its
    only killed/inaccessible if the user times out or
    clicks log-out. We've tested this on just about any
    browser we can get our hands on.Right. This is a basic limitation of the http protocol. It's not something we CAN fix.
    >
    Is there a fix/patch/workaround for this? I've combed
    the documentation and the site and can find nothing.
    We are using the product in an University environment
    and this can be particularly nasty in the labs.You will have to educate your users to log out. That's all I can suggest.
    >
    Thanks!
    ashley

  • Session does not end even when i close browser

    when i close firefox/IE the session continues ,What i need is that i am adding amount in shopping cart ,but the amount adds to old amount even when i open a new browser window ,
    i hv checked that my browser will remove cookies when i will close mozilla
    i hv also printed total=0 in servlet's ini method but the init method is called only once and total does not reset to 0,does 'th the call to init method is made everytime we start a new session via browser ,it does not get called whn i close the current browser and open new one.how to destroy the older servlet?
    I m using s=request.getSession()
    and s.setAttribute("billamnt",total)
    the code of the servlet is
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    public class addtocart extends HttpServlet
         HttpSession s;
         PrintWriter pw;
         int total,cam,mob;
         public void init()
              total=0;
              cam=0;
              mob=0;
              System.out.println("inside  cart init");
    public void service(HttpServletRequest req,HttpServletResponse res) throws IOException
         s=req.getSession();
        res.setContentType("text/html");
         pw=res.getWriter();
         pw.println("<html><body><a href="+"mobs"+">Mobile</a><br><a href="+"cams"+">Camera</a><form method = "+"post "+"action ="+"bill"+"><br><input type= "+"submit"+"></form></body></html>");
        if(req.getParameter("csony")!=null)
        cam=cam+Integer.parseInt(req.getParameter("csony"));
        if(req.getParameter("clg")!=null)
        cam=cam+Integer.parseInt(req.getParameter("clg"));
        if(req.getParameter("cnokia")!=null)
        mob=mob+Integer.parseInt(req.getParameter("cnokia"));
        if(req.getParameter("cerricson")!=null)
        mob=mob+Integer.parseInt(req.getParameter("cerricson"));
        s.setAttribute("cambill",new Integer(cam));
        s.setAttribute("mobbill",new Integer(mob));
        s.setAttribute("billamnt",new Integer(cam+mob));
    public void doPost(HttpServletRequest req,HttpServletResponse res)
    public void doGet(HttpServletRequest req,HttpServletResponse res)
    }Wats the problem?
    Message was edited by:
    pooja_k_online

    The servlet is not created on a session basis. All users share the same servlet object. The servlet is created once when the servlet is first called in the context, then is maintaned until the server shuts down.
    You should not store any state in the servlet. You should use the HttpSession object you get from the request object to store the totals, and all other values. You should not use the servlet to hold on to a session object, as multiple users would see the SAME session that way. If you need to use the session in multiple methods, then you should pass that object as parameter, not by making it a class member.
    You also shouldn't put the work in the service method of the HttpServlet. You should put it in either the doGet or doPost method (and if you want to make it happen for both type requests, call doPost from the doGet method and put the work in the doPost method).
    For example:
    public class ShoppingCartServlet extends HttpServlet {
      public void doGet(HttpServletRequest request, HttpServletResponse response) {
        doPost(request, response);
      public void doPost(HttpServletRequest request, HttpServletResponse response) {
        HttpSession session = request.getSession();
        Integer cambill = (Integer)session.getAttribute("cambill");
        int cam = 0;
        if(cambill != null) cam = cambill.intValue();
        Integer mobbill = (Integer)session.getAttribute("mobbill");
        int mob = 0;
        if(mobbill != null) mob = mobbill.intValue();
        Integer billamnt = (Integer)session.getAttribute("billamnt");
        int total = 0;
        if(billamnt != null) total = billamnt.intValue();
        String csony = request.getParameter("csony");
        if (csony != null) cam += Integer.parseInt(csony);
        String clg = request.getParameter("clg");
        if (clg != null) cam+= Integer.parseInt(clg);
        String cnokia = request.getParameter("cnokia");
        if (cnokia != null) mob += Integer.parseInt(cnokia);
        String cerricson = request.getAttribute("cerricson");
        if (cerricson != null) mob += Integer.parseInt(cerricson);
        total = cam + mob;
        session.setAttribute("cambill",new Integer(cam));
        session.setAttribute("mobbill",new Integer(mob));
        session.setAttribute("billamnt",new Integer(total));
        PrintWriter pw=response.getWriter();
        pw.println("<html><body><a href="+"mobs"+">Mobile</a><br><a href="+"cams"+">Camera</a><form method = "+"post "+"action ="+"bill"+"><br><input type= "+"submit"+"></form></body></html>");
        pw.close();
    }Message was edited by:
    stevejluke

  • Maintaining session across multiple browser windows and page refreshes

    Hi there,
    We're currently developing a Flex application with a couple of session-related requirements that we're not sure how to solve. Before we jump in and maybe go about things in the wrong way, I thought I'd post and see if anyone here knows of some elegant solutions!
    Currently, when our Flex app starts the user is presented with a log-in screen which authenticates the user against our server. Client-server communication is done through BlazeDS.
    Our first requirement is the ability to open a new browser window from Actionscript - this window will load a pdf document. The servlet that serves this pdf should deny the request if the user is not already logged in. The only way we can see to do this so far is to open the pdf url using navigateToUrl() with the '_blank' target, passing a jsessionid token as a url parameter. Is there a better way to preserve session state when opening a new window?
    The second requirement is to preserve some application and session across browser refreshes. Our Flex app has several screens that the user can tab between. If the user hits F5 or the refresh button in their browser, we'd like the app to return to the same screen after the refresh. I've been looking into using BrowserManager to add a fragment such as #screen=2 to the url, but of course we only want the app to display screen 2 if the user has already authenticated with the server. Is there a way to reuse the user's existing session credentials after a page refresh?
    Many thanks in advance for any advice anyone can offer on this. It could very well be that we're missing something about how BlazeDS uses / exposes session credentials that would make all of this easier to implement than we currently realise!

    We use javascript to pass values between a 'data look up' window and the originating Servlet. If this is of any use, I can send you some examples.

  • Browser is idle when trying to run 2 sessions sequentially in 1 script

    Hi,
    When i try to run 2 browser sessions sequentially in one script.The browser is remaining idle after executing the 1st one.
    Scenario on Execution :
    1st Session: Opens Browser > executes scripts > Closes Browser
    2nd Session: Opens Browser >"Remains Idle" - No error message is displayed,but Open script tool bar in browser is showing an Idle status.
    I tried reinstalling browser helper files but still the issue is not resolved.
    System Configuration :
    Win 7,Openscript 12.2 and browser is IE 8.
    Can anyone please help me on this issue.
    Edited by: 1004422 on 06-May-2013 21:10
    Note : Issue is only observed for custom scripts, for recorded and played back scripts its working fine.
    Edited by: 1004422 on 07-May-2013 06:23

    It is working after replacing the browser.close() to close a session with the web.window("path").close option.
    Thanks,
    Naveen

  • Expires session on close of browser.

    Hi!
    I need to expires the session when user close the browser... someone
    can show me how do it ?
    tkz
    Tiago de Souza
    ticdd

    I dont think the session will be destroyed when the browser is closed, I believe the session will be still active in the server until it is timed out depending on the maxmimumInactive property value.
    but I have never tried removing the session when browser is closed

  • File upload example - browser freezing

    We implemented the web file upload example in Forms 6i a while ago. It seemed to work however if we load several files in one session the browser freezes - has anyone else experienced this problem? Can anyone help?
    Many Thanks
    Steve

    We implemented the web file upload example in Forms 6i a while ago. It seemed to work however if we load several files in one session the browser freezes - has anyone else experienced this problem? Can anyone help?
    Many Thanks
    Steve

  • Session data not carried over. with IE6SP1 and WL7

    Hi,
    We recently upgraded our clustered WL to WL7x and after that we started seeing
    a strange problem regarding session data of our HTML/Servlet pages.
    When we access the pages through this cluster, the session data(browser cookies
    not accepted) is not carried forward in IE6 SP1. With IE5x it works fine. The
    Local Intranet is always coming as blocked for the cookies. I am not able to reset
    the settings also.
    The same set of programs are working fine with server running WL5x.
    Is it anything due to P3P or is there any setting I should do at WL7 level for
    this problem? When I do the URL rewriting this works fine but, as many are static
    HTMLs submitting servlet request, we are not able to do URL rewriting.
    Any help on this will be highly appreciated.
    Thanks
    kavitha

    It doesn't seem to be a problem with serializable attributes though.
    Also Weblogic doesn't use the distributable tag. So that should
    not matter too.
    Can you investigate further and try to pinpoint the issue?
    When we access the pages through this cluster, the session data(browser
    cookies not accepted) is not carried forward in IE6 SP1What do you mean by session data not carried forward?
    -Vinod.
    "Stjepan Brbot" <[email protected]> wrote in message
    news:[email protected]..
    >
    "kavitha" <[email protected]> wrote in message
    news:[email protected]..
    Hi,
    We recently upgraded our clustered WL to WL7x and after that we
    started
    seeing
    a strange problem regarding session data of our HTML/Servlet pages.
    When we access the pages through this cluster, the session
    data(browser
    cookies
    not accepted) is not carried forward in IE6 SP1. With IE5x it works
    fine.
    The
    Local Intranet is always coming as blocked for the cookies. I am not
    able
    to reset
    the settings also.
    The same set of programs are working fine with server running WL5x.
    Is it anything due to P3P or is there any setting I should do at WL7level for
    this problem? When I do the URL rewriting this works fine but, as many
    are
    static
    HTMLs submitting servlet request, we are not able to do URL rewriting.In clustered environment session object must implement Serializable
    interface.
    Also your web application has to have parameter "distributable" set ontrue
    in "web.xml" configuration file.
    HTH

Maybe you are looking for

  • Movies now play with picture tiling effect

    I have Quicktime Pro - for a year now - everything fine - don't know what happened - maybe when I did the update prompted by ITunes? All files I was able to view previously appear to be tiled. Audio is fine. I have tried to re-register with my Pro ke

  • No system restore support for Windows 8.1?

    Last week I purchased a Satellite E45t-A4300.  It came with Windows 8.  Soon after booting it up I received a message from Microsoft saying that I could update to Windows 8.1 for free.  So, I did.   The next day I called Toshiba's customer support in

  • Mac Mini and Microphone

    I've got an Early 2006 Mac Mini Core Duo I used to not have any problems using a mic plugged into the onboard audio-in jack. All of a sudden it stopped working. I tried another mic. Still doesn't work. I tried both mics with the Griffin USB iMic I us

  • Laser jet pro 200 will not copy

    Hi, I have had my laser jet pro 200 for at least 6 months and only used it as a printer.  For the first time today I tried to copy something and I got  a blank piece of paper.  I tried the flat bed as well as the feeder and same result.  Hopefully th

  • Target display mode

    How do I connect a DVD play to iMac through "monidisplayport to HDMI" adopter?