Session doesn't end when browser is closed, still logged in

Hi!
I have a Restrict Access To Page and a Log Out User server behavior that works fine. If I'm not logged in I redirects to a Log In page and then gets to the restricted page. If I click The Log Out link I have to Log In again, as supposed.
But if I don't click the Log Out link and just close the Browser completely there are no problem to get back to the restricted page when I reopen a new browser window and enter the URL. Not even from another PC! Seemes to me that the session doesn'n end at browser close but dont know really?
I have used this server behaviors many times without this problem but on another server and it has allways worked fine. I even made new pages with the behaviors on the other server and it works fine this time to.
Goin' bananas soon!

Thanks The_FedEx_Guy for trying to help but that is not the case I'm afraid, don't think there wouldn't be any differese if I click the Log Out link or if I just shut down the browser then. And if I close the browser without log out first I never get to the Log In page at all but straight to the restricted page. Anyway I deleted all password info and pretty much everything from IE cash but didn't help.
Very Weird, I log in to the restricted page from PC and log out with the Log Out link then I have to log in again to se the restricted page, fine.
I don't log in, instead I try to open restricted page in my laptop, I only got to the Log In page.
If I log in from any of the two I'm also logged in from the other one. The restricted page is wide open what I can understand! And still is if I shut down the browser without logging out first.
This only happens in IE on Win 7 and on server with this info http://lindogk.com/test2/php_info.php and in another folder on the same server with this http://lindogk.com/sponsor_tavl/php_info.php altered with htaccsess.
No problem on this server http://gelins.se/phpinfo.php at all.
No problems Wiyh Win XP at all.
No problems on Firefox at all.
Taking a pretty wild guess here but maybe there is something in the server configuration and hopefully I could set this right in my scripts with some set_ini or so and maybe someone out there know how to do it. Or maybe I'm allready crazy, hope not!

Similar Messages

  • Vivado hardware server "hw_server" process doesn't close when server is closed

    Vivado hardware server "hw_server" process doesn't close when server is closed. 
    Also, the connecting to the server hangs if a device is physically disconnected and reconnected (usually). 
    The "hw_server" process continually has to be killed via Task Manager, Vivado has to be closed and reopened sometimes as well. 
    Using Vivado 2014.1
    Please fix this. 
     

    I'm on 2014.1 as well (Win7-64).  I have a similar problem with 2 different PCs running the same setup.  The Hardware Manager hangs while attempting some activity (usually reconfig).  I click "Cancel" to dismiss the activity, which causes all of Vivado to hang.  Seeing no other option, I kill Vivado in the Task Manager.  However, this has the unfortunate side effect of leaving an orphaned hw_server process that can't be killed by any means, thus requiring a reboot of the PC.
    This is monumentally annoying.
    Can someone comment on whether this is due to a known issue, and if it's fixed in 2014.2?
     

  • My iPad air doesn't sleep when case is closed

    My new iPad air doesn't sleep when the cover is closed, the cover was advertised with this feature any suggestions ?

    https://discussions.apple.com/thread/5165951

  • FF4 Panorama is cool, but it doesn't save when FF is closed?

    I tried the new FF4 Panorama feature, it's cool. But doesn't it save my work? When I close FF and reopen it, all named tab groups are gone...:-(
    And... the troubleshooting information doesn't fit in to the box below. Max chars: 30,000. Not enough for my Ubuntu (37,000).

    App Tabs and Tab Groups (Panorama) are stored in sessionstore.js as part of the session data, so make sure that session restore is enabled and working properly.
    Create a new profile exclusively for the 4.0 beta version and create a desktop shortcut with -P "profile" appended to the target to launch that profile.
    * http://kb.mozillazine.org/Testing_pre-release_versions
    * http://kb.mozillazine.org/Creating_a_new_Firefox_profile_on_Windows
    * http://kb.mozillazine.org/Shortcut_to_a_specific_profile
    * http://kb.mozillazine.org/Using_multiple_profiles_-_Firefox

  • Running abap code when Browser is closed,

    Hi,
    In my application,  need to delete couple of rows in a table when the user closes the browser. In order to do this i have written a JavaScript when executes itself when the browser closes. When i code a alert message it executes fine when the browser closes but, when i write an abap code it gets executed when the page loads itself. I have tried to methods. Both aren't working.
    Method1 :
    <%@page language="abap" %>
    <html>
        <head>
        </head>
      <script language="JavaScript">
        window.onunload = unloadHandler;
        function unloadHandler() {
                    <%
                      delete from ZDATALOCK
                      where auid = sy-uname.
                    %>
      </script>
        <body>
            <tr>
            <td>
               <table  border="0" width="100%" height="100%" align="center">
               <tr>
                   <td>
                   <iframe src          = "mas.do"
                           style        = " overflow:visible; height:100%; width:100%; "
                           name         = "Form"
                           marginheight = "0"
                           marginwidth  = "0"
                           frameborder  = "0">
                   </iframe>
                   </td>
               </tr>
               </table>
            </td>
            </tr>
        </body>
    </html>
    Method2 :
    <%@page language="abap" %>
    <html>
        <head>
        </head>
      <script language="JavaScript">
        function dellock() {
                    <%
                      delete from ZDATALOCK
                      where auid = sy-uname.
                    %>
      </script>
        <body onunload=dellock()>
            <tr>
            <td>
               <table  border="0" width="100%" height="100%" align="center">
               <tr>
                   <td>
                   <iframe src          = "mas.do"
                           style        = " overflow:visible; height:100%; width:100%; "
                           name         = "Form"
                           marginheight = "0"
                           marginwidth  = "0"
                           frameborder  = "0">
                   </iframe>
                   </td>
               </tr>
               </table>
            </td>
            </tr>
        </body>
    </html>
    Kindly help.

    Hi,
    ABAP code is server side and JS is client sides. You can't execute ABAP on the front end. What I suggest is that you submit a form before you actually close a window.
    document.someform.submit();
    window.setTimeout('window.close()',5000);
    The close will only happen after 5000ms.
    Check http://www.devguru.com/Technologies/ecmascript/quickref/win_settimeout.html for details.
    in the oninputprocessing you can do your
    delete from ZDATALOCK
    where auid = sy-uname.
    Also check /people/eddy.declercq/blog/2006/03/20/wake-me-up-before-you-go-go
    Eddy

  • How to manage settings so account are logged out of when browser is closed.

    Before the last update, when I closed the browser all of my accounts were logged out of. That is no longer the case and I don't know how to fix the settings to bring it back to the way it used to be.
    I am in private browsing and tried the about:config trick where I set browser.sessionstore.privacy_level to either 1 or 2: it didn't work.

    There are separate downloads for the two plugins, but Adobe has made updating smoother by installing an auto-updater that handles both. It only seems to run when I restart Windows, but that might be configurable (I haven't checked). Anyway, no worries on interference, they coexist quite happily.
    (When downloading any Flash player, be careful not to install unwanted additional software such as security suites...)

  • MacBook Pro 17" doesn't sleep when top is closed

    The problem is described in the title of this thread. Is there a .plist file where the setting for this may have gone wrong.
    Have had the MacBook Pro about 5 months. It has functioned normally during most of that time - the computer went to sleep if there was no input for a set amount of time, OR immediately, when the top was closed...until recently. Now, shutting the top puts out the monitor and shuts down the hard drive, but the computer does not sleep until the set amount of time passes, and the computer then sleeps due to inactivity.
    May be due to some screen "savers" I installed (from uselesscreations.com and sandiegoscreensavers.com). But I'm not as much looking for causes as a solution to restore default behavior. I suspect a .plist file setting to default values would do it, but which one(s) ?
    Thanks for any solutions or clues.

    Welcome to Apple Discussions!
    Might this apply?
    http://docs.info.apple.com/article.html?artnum=304372
    Thank you for taking time to read my question and for offering help. But, no, that article does not apply.
    The article describes a different problem (monitor failing to go out) to mine (computer failing to go to sleep). The article also describes a cause that cannot possibly be the cause of my computer's problem: Boot Camp Beta. I have never installed Boot Camp Beta, nor any other non-OS X compatibility software, on this computer.
    MBP Mac OS X (10.4.8)

  • Flash Player playing multiple sound feeds at once...even when browser is closed

    I recently updated my Flash Player to 11.3 (most recent version). When I go to a site which utilizes Flash (e.g. YouTube), I will start the video, and then about 10 seconds later, I get multiple sound feeds at the same time. They all sound like commercials, or tv channels. Even when I close my browser, the sound continues. When I open my sound mixer, there is a "program" listed of "winrscmde" which is playing the various audio channels all at once. When I go into the task manager, "winrscmde" shows as a svchost.exe *32. When I stop that service the sound stops. It will start again when i access a flash site. When I uninstall Flash Player 11.3, this stops.
    I'm running Windows 7 - 64 bit with latest updates. IE 9.0.8112.16421
    Any help would be appreciated.

    Well, I think I fixed the problem.
    I found this topic:
    http://www.bleepingcomputer.com/forums/topic442928.html
    About the second post down, the poster recommends downloading TDS killer as winrscmde.exe is disquised as svchhost.exe in the \windows\system32 folder (you have to click on "Properties", then "Details" tab and check the original filename...if it's bogus, it'll say winrscmde.exe as the original name).
    I also ran the aswMBR program as well as FixTDSS (http://www.symantec.com/content/en/us/global/removal_tool/threat_writeups/FixTDSS.exe).
    That seemed to fix the issue. Just reinstalled Flash and don't get the same issues. The svchost.exe in the \windows\system32 folder is legit!
    Hope that helps anyone else with the same problem.

  • Plugin Won't CLOSE when browser is closed

    HELP!!!!! My machine is the only one that does this here. I have Win2000 professional, IE6 (had 5.5 did it on that too). I am using plugin 1.3.1.04. When I launch a page, even if is not one I developed, could be anything that uses it, it loads the applet and will never EVER close it until I do one of two things. Logout and log back in, or Kill Explore.exe, which hoses up your machine. It is causing a lot of problems in that when I try to use other applications that try and launch a different version of the applet, it crashes everything because I have this other version sitting there that won't go away.
    I have uninstalled everything and reinstalled it, does the same thing. I reported it to SUN, they said they couldn't reproduce and dismissed it. DOES ANYONE KNOW HOW TO FIX THIS??!?!? Its making developing hell.
    thanks.

    I have a similar problem with one of my client's machines. He's running Windows 98 and when he closes the browser down the plug-in does not shut down (the cofee cup icon remains in the system tray).
    When I look a bit closer at the process table on the PC the plug-in is still being "held" by the explore.exe process.
    Any suggestions on how to resolve this??

  • VDbench : Session doesn't end after "elapsed" time elapsed

    With the fallowing config file :
    fsd=fsd1,anchor=/mnt/machine/fs11/vdbench,depth=2,width=2,files=2,size=2200g,openflags=directio
    fsd=fsd2,anchor=/mnt/machine/fs12/vdbench,depth=1,width=3,files=13,size=240g,openflags=directio
    fsd=fsd3,anchor=/mnt/machine/fs13/vdbench,depth=2,width=4,files=4,size=2600g,openflags=directio
    fsd=fsd4,anchor=/mnt/machine/fs14/vdbench,depth=3,width=2,files=5,size=280g,openflags=directio
    fsd=fsd5,anchor=/mnt/machine/fs15/vdbench,depth=2,width=1,files=16,size=300g,openflags=directio
    fsd=fsd6,anchor=/mnt/machine/fs16/vdbench,depth=8,width=1,files=7,size=3200g,openflags=directio
    fsd=fsd7,anchor=/mnt/machine/fs17/vdbench,depth=1,width=14,files=4,size=340g,openflags=directio
    fsd=fsd8,anchor=/mnt/machine/fs18/vdbench,depth=2,width=6,files=9,size=360g,openflags=directio
    fsd=fsd9,anchor=/mnt/machine/fs19/vdbench,depth=2,width=2,files=27,size=380g,openflags=directio
    fwd=fwd1,fsd=fsd*,operation=write,xfersize=1024k,fileio=sequential,
    fileselect=random,threads=88
    rd=rd1,fwd=fwd*,fwdrate=max,format=yes,elapsed=3600,interval=15
    Instead of every 3600s making a summary and starting over , vdbench simply continued going until it was manually stopped.
    Any ideas ?

    I bet you that the 'format' is still running?
    You are asking 398TB worth of files to be created, at a (very high) 1gb/second that would take about 110 hours; at 100mb/sec that would take 46 days.
    Be careful with specifying Vdbench parameters, just last week I saw a parameter file with a total elapsed time of 9 years!
    Henk.

  • How to kill db-session when explored is closed?

    Hi all,
    Is there an easy way to kill database sessions when the explorer window is closed?.
    I tried to set the "disconnect application module upon release" checkbox on the module, but than my application doesn't work correctly...
    I'm getting errors like:
    Jul 17, 2007 6:34:10 PM com.sun.faces.lifecycle.ProcessValidationsPhase execute
    SEVERE: SelectOne submittedValue's index 0 is out of bounds. It should be between 0 and -1
    java.lang.IndexOutOfBoundsException: SelectOne submittedValue's index 0 is out of bounds. It should be between 0 and -1
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.SimpleSelectOneRenderer.__getIndex(SimpleSelectOneRenderer.java:347)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.SimpleSelectOneRenderer._convertIndexedSubmittedValue(SimpleSelectOneRenderer.java:189)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.SimpleSelectOneRenderer.getConvertedValue(SimpleSelectOneRenderer.java:157)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.InputLabelAndMessageRenderer.getConvertedValue(InputLabelAndMessageRenderer.java:42)

    Hi Arti,
    You may want to check out how to use JDBC Datasources intead of the JDBC URL to connect to your database at the OC4J level. This method will manage the number of open db sessions that the OC4J can access. It is normal to have the sessions connected even after the browser has closed. It actually saves processing on the database because you don't need additional resources to open sessions, and you're reusing technology on connection management that is part of the database DNA. It is designed this way so that the OC4J can reuse existing connections for performance reasons among others.
    To do this on ADFBC, these are the files that you'll need to modify:
    1) data-sources.xml
    2) bc4j.xcfg for every application module to use JDBC Datasources instead of JDBC URL. (Right-click, configuration on the AM)
    However, for testing, the business component browser will need to use the JDBC URL connection.
    I hope this helps.
    Kenton

  • BSP application locked when Browser closed..

    Hi ,
    How can handle the logging off my BSP application when browser is closed..
    we had some thing setting of dirty flags in SRM ,which will take care of this..
    Any clue on custom BSP application..
    Can i override window.close() function to logoff
    Regards
    Prasad
    Message was edited by: Ranganatha Prasad Kurupati
    Message was edited by: Ranganatha Prasad Kurupati

    Create yourself a page with flow logic, this will be your initial entry to your application.
    Paste this code below, make sure to set the target_page.
    <%@page language="abap" %>
    <%
       DATA: target_page TYPE STRING VALUE 'zapp.do'.
       DATA: do_not_delete_sso2_cookie TYPE XFELD  VALUE SPACE.
       CL_BSP_LOGIN_APPLICATION=>SET_LOGOFF_URL_PARAM( page = page ).
    %>
    <html>
    <script language="JavaScript">
    <%
       DATA: guid TYPE GUID_32.
       CALL FUNCTION 'GUID_CREATE' IMPORTING ev_guid_32 = guid.
    %>
    var frame_A = "<%=guid %>_A";
    var frame_B = "<%=guid %>_B";
    function startLoader(name)
        doc=window.frames[name].document;
        doc.writeln('<html><body onload="document.f.submit();">');
        doc.writeln('<form id="f" name="f" target="<%=guid %>_B" method="POST" action="<%=target_page %>">');
        <%  DATA: ffs TYPE tihttpnvp, ff  TYPE  ihttpnvp.
            request->get_form_fields( changing fields = ffs ).
            DELETE ffs WHERE name cs '~'.
            LOOP AT ffs INTO ff.
         %>
              doc.writeln('<input type="hidden" name="<%=ff-name %>" value="<%=ff-value %>">');
        <%ENDLOOP. %>
        doc.writeln('<table border="0" width="100%" height="100%"><tr><td align="CENTER" valign="MIDDLE"><span style="font-family:Arial,sans-serif;">Loading...</span></td></tr></table>');
        doc.writeln('</form></body></html>');
        doc.close();
        <%=runtime->GET_DOMAIN_RELAX_SCRIPT( )  %>}
    function exitBSPApplication(newTargetUrl)
    {<% if runtime->session_manager->is_running is initial.  %>
      <%CLASS cl_bsp_login_application DEFINITION LOAD. %>
      var url  = "<%=CL_BSP_LOGIN_APPLICATION=>GET_SESSIONEXIT_URL( page = page ) %>";
      <%IF do_not_delete_sso2_cookie IS NOT INITIAL. %>
          url += "&bsp_do_not_delete_sso2_cookie=X";
      <%ENDIF. %>
      var prop = 'height=100,width=400,top='(screen.height-100)/2',left='+(screen.width-400)/2;
      var out = window.open(url,'_blank',prop);
    <%endif. %>
      document.getElementById("<%=guid %>_FRAMESET").onunload = null;
      if(newTargetUrl) window.setTimeout('{document.location.href="'newTargetUrl'";}', 750);
    function getHiddenFrame()
        if (document.body.rows=='*,0') return "<%=guid %>_B"; else return "<%=guid %>_A";
    function getShownFrame()
        if (document.body.rows=='*,0') return "<%=guid %>_A"; else return "<%=guid %>_B";
    function swapToFrame(frame)
        if (frame == '<%=guid %>_A') document.body.rows=',0'; else document.body.rows='0,';
    var sap_basis_A_active = false;
    var sap_basis_B_active = false;
    function frameLoaded(name)
        if (name=="<%=guid %>_A" && sap_basis_A_active==false) { sap_basis_A_active = true; return; }
        if (name=="<%=guid %>_B" && sap_basis_B_active==false) { sap_basis_B_active = true; return; }
        var newShowFrame   = getHiddenFrame();
        var newHiddenFrame = getShownFrame();
        try
          doc=window.frames[newShowFrame].document;
          for (var i = 0; i < doc.forms.length; i++) {
            var frm = doc.forms<i>;
            if (frm.target=="") frm.target = newHiddenFrame;
        } catch(e) {}
        swapToFrame(newShowFrame);
        //if (window.frames[newShowFrame].window.sapOnResize)
        //    window.frames[newShowFrame].window.sapOnResize();
        if (window.frames[newShowFrame].window.sapScrollTo)
            window.frames[newShowFrame].window.sapScrollTo();
    </script>
    <frameset id="<%=guid %>_FRAMESET" rows="*,0" onUnLoad="exitBSPApplication();" resize="no" framespacing="0" frameborder="0">
        <frame name="<%=guid %>_A" src="javascript:parent.startLoader('<%=guid %>_A');"  onload="frameLoaded('<%=guid %>_A');">
        <frame name="<%=guid %>_B" src="about:blank"                                    onload="frameLoaded('<%=guid %>_B');">
        <noframes>This browser does not support frames.</noframes>
    </frameset>
    </html>

  • How to invalidate a session explicitly when a browser is closed

    hi,
    i am keeping the information of a logged user when he logs succesfully in a session. the session time is maintained for half an hour.
    i am also storing his information in an application object.
    when a user logs out i am invalidating the session and his information is removed from the application object .
    when a person is logged and another person at other place stries to log in with the same username and password, i am making use of this application object to check whether the anyone is looged in with that user id or not. if the id aleady exists in the application object i will not allow the second person to log in and i will provide with a relavent mesasge " already logged in with this ID".
    But the problem is arising when a person loogs in and closes the browser (wth out looging in).
    in this case the session is not invalidated and his information remains in the session and application object.
    when he tries to loog in immediatly after closing the browser, the same checking is done for the duplicate log in and a message is displayed to him saying that " already logged in with this ID".
    he has to wait till the session expires (i,e till 30 min) and then log in
    As this creates problem, i want to invalidate the session the time when the browser is closed.
    i tried with the onUnLoad() methos in javascript, but that method is not only called when closing the browser but also when a link is clicked ot when refreshed the page.
    i am trying with Cookies but i am not gettin ga good approach as how to go forward with this problem.
    Any body who can solve this please....reply soon or mail me
    Its very Urgent................
    Thanks
    sowjanya

    2.Any business critical web site should not allow
    multiple users to
    work under same account at same time.Not true. My customer's web site is "business critical" and they explicitly wanted to be able to login multiple times with the same ID. At least in this scenario we completely circumvent your problem.
    The Javascript solution will never be 100%. What happens if their internet connection drops and doesn't come back? Suppose their OS crashes? What if their power goes out? What if IE crashes? What if JS is turned off? What if the user just walks away and leaves the browser open forever?
    You may be trying to get too much control, which on the web always leads to failure. Maybe a better alternative would be to warn the user that is logging in the second time that there is an outstanding login and that the previous user will be logged out if he proceeds. Then, keep a record of the event in case someone is messing with other accounts (although, since he obviously knows the username and password it is probably a user concern.)

  • Destroy the session automatically when the browser is closed by user

    Is it possible to automatically destroy a session when the browser is closed by the user with the X?
    Basically, what we want to do is to create the same effect when the user is closing the browser (with the X button) as when the ordinary log out button is used. That is to have the session destroyed.
    Any ideas?
    /Carl-Johan

    Hope this helps...
    Refer note : 904155
    from SAP Note 904155----
    Symptom
    A BSP application is not terminated correctly when the user closes the browser window or navigates to other URL.
    The popup window, which appears on browse closure, contains the
    text representing <img> HTML element content in the escaped
    form, like that:
    <IMG WIDTH=quot; HEIGHT=quot; SRC="...
    After the popup disappears, the session remains opened.
    Since the session is not removed, that may result in database locks that still remain and can be found in transaction SM12.
    Other terms
    Business Server Pages, WebAS, sessionexit, session termination, SM12, SM04, SYSTEM, session_single_frame.htm
    Reason and Prerequisites
    Reason:
    The problem is caused by the minor code inconsistency in BSP application SYSTEM -> page SESSIONEXIT.HTM.
    Prerequisites:
    1. The application is using the SYSTEM application page SESSIONEXIT.HTM for logoff. When it runs, suddenly HTML source code appears on the logoff screen.
    2. SAP_BASIS 620 SP57 or SAP_BASIS 640 SP15 or SAP_BASIS 700 SP06 are installed.
    Solution
    Please install SAP_BASIS 620 SP58 or SAP_BASIS 640 SP16 or SAP_BASIS 700 SP07
    or
    apply the code correction as described below:
    1. Go to BSP Application SYSTEM.
    2. Select page SESSIONEXIT.HTM and turn on Change mode.
    3. Change the line:
    <%=application->session_exit( exit_url = app-exit_url namespace = app-appl_ns name = app-appl_name page = app-page_name )%>
    to:
    <%raw=application->session_exit( exit_url = app-exit_url namespace = app-appl_ns name = app-appl_name page = app-page_name )%>
    Arun
    P.S Assigning points is a way of saying thank you on SDN
    Message was edited by: Arun Varadarajan

  • Persisting a session even when the browser is closed

    i want to persist a user session even when the browser is closed. How to do it through cookies. I know i define a cookie, set its max age and then put that in response. But its not working.
    I am using I.E

    i am not sure if i am doing something wrong. the cookies are enabled and i see that for ie 7, if i open a new tab the session is maintained but if i open a new window (of I.E. 7) altogether then the session is not maintained. Interestingly the code is working in firefox. is there some problem with the I.E. only?

Maybe you are looking for

  • How do you work out the number of days difference between two dates?

    I'm running Crystal v12. We use a date field in our SQL database that we use to store the client's year end date. As the year end date (date and month) doesn't change for a client, the year end date field in all of our reports is set to just show the

  • Difference between logical destination & output devise in Purchase message

    Hi all, I defined a printer determination per printer for a condition type used in the ME22N transaction via OMJR or NACE : printer A I defined a another outputdevice in the SU01 transaction : printer B When I print condition type in ME22N, the logic

  • 10g listener question

    Hi All, First question When I do some minor modification in tnsnames.ora. Do I Need to stop and start listener again. Second question And If I want to stop and start listener Do I need to stop all the databases before I can stop and start listener ?

  • Options for Canon RAW files?

    I have a PowerPC at the office running 10.5.8. I am a graphic designer & photographer. Previously I was able to use iPhoto with my older DSLR to import Canon RAW files. I've upgraded to a Canon 60D and iPhoto no longer reads these new Canon CR2 files

  • Help with Action script, experts needed!

    Hi, I have a website just put up today, all I need is advice, or better still, someone who can write these actionscripts for my site. Basically, I need to put into function, the three grey buttons, Print/ecard/Download on the lower right portion of t