How to invalidate session when i browse another url with out closing browse

Hi,
How can i find when i type another url and browse to that site without closing the browser.when i left the site i have to invalidate the session.
how can i recognise this event.
thanks

You might be able to do this by catching a javascript event, then you'd need to submit a request back to the server before any session invalidation could occur. Basically, the server never know when the user is gone - that's why there's a timeout in sessions. The only other way is to have a logout button that the user clicks on to send the request to invalidate the session.

Similar Messages

  • How can i invalidate Session when a browser crashes?

    Hi
    How can i invalidate session when a browser window closed or crashed unexpectedly.
    If user closed the browser window using File->Close, then i'm calling javascript function .... and it is working fine. But when browser window is hanged and closed using ENDTASK, how can i kill that session.
    Please help
    Thanks
    -Vidyadhar

    Well you can't. Execution halts, so anything you would want to do is made impossible: that's why crashes are the #1 enemy of any software developer (that and impossible deadlines). The webserver will remove the session manually when it times out though.

  • How will I know when Flash Player will run with out crashing in Protected Mode?

    Firefox 15.0.1 had to disable Flash Player Protection Mode to view flash videos. I want to know how I will know when to enable Protection Mode.

    It is a case of try it after upgrades and see if it works.
    There will probably be celebrations if and when it is fixed ;-)
    I have not noticed any Firefox staff predicting imminent fixes.
    (Which reminds me I need to try something, I remembered reading about a novel solution that I have not yet tried)

  • TS1702 how do i tranfer a game to another device with out loseing a level?

    i have to send my iphone 4s in for a replacement phone because my speaker quit working on my phone and right now i have a iphone 3 which i dont like as well as the 4s and i'm trying to tranfer my game along with the levels that i'm at and i was wondering how do i do this... I would care as much but i have some money into my games that i play..

    Sorry for the incovenience. It's fine. User error. [head slap]

  • My links don't work when I combine another file with the pdf

    My internal bookmarked links don't work when I combine another file with the pdf.
    The external links continue to work fine, though.
    This doesn't make any sense to me at all ... but I'm hoping one of you kind folk can help?

    I opened my file and instead of merging files I used insert pages and inserted all of the pages from the file I wanted.  Then I saved the file with
    the same name.  Attached is a rough draft of some helpful hints I put together.  This has been a very painful process for us to discover how to handle
    this and there really is not much help from Adobe.
    Instead of merging files you inset pages. In Acrobat select Document - Insert pages -From file. You can select all pages or some and where you want them inserted. After you do that save the file not save as and all of your links should work. If you combine files or merge files all of the links will break.
                                                                                    GillHarley <[email protected]>                                                                              
    05/07/2009 09:54 AM                                                                                To
                                                                        "Christine Salmon" <[email protected]>                                                                              
    cc
                                Please respond to                                                                              
    [email protected]                                                                                 Subject
                                    dobe.com                            Acrobat Windows My links don't work when I combine another file with the pdf
                                                                        29k833-1Kp0-8ahk                                                                              
    I think it's something to do with naming, but I can't figure out what. This is because it asks to be saved and gives me a Binder no as the name. If I
    press Cancel at that point, I keep the file and the links. But as soon as I need to close it, it asks me again 'Do you want to save this file' and if
    I say 'Yes', I lose all the links, and if yet if I say 'No', I lose the whole file. So at some point it has to be saved but whether I keep the Binder
    no name when I save it, or use the original name, it makes no difference ... it is in the saving of it that it looks the functionality, and yet, if I
    don't save it, I lose the file.
    This makes no sense to me....I hope it does to one of you.
    For instance, Christine, how did you keep your file if you couldn't save it?
    Or have I misunderstood?

  • I have applied the icloud on my sisters id accidently. How can I no w remove this information and set up my own Icloud on another computer with out loosing either of our information from the phone

    I have applied the icloud on my sisters id accidently. How can I no w remove this information and set up my own Icloud on another computer with out loosing either of our information from the phone.

    Please read before going through with this procedure.
    If you really want your contact back and you did not do another iCloud backap since you deleted some of your contacts, you can do a hard reboot on both devices with iClouded contacts by holding down the home and lock buttons on each of them for 10 seconds ignoring the slide to turn off thing. Make sure you have iCloud contact services off before doing so. You can then go through the whole set up process until you get up to the backup part. You then press to restore from an iCloud backup (make sure you choose the right backup for the right phone). If you didn't make an iCloud backup before the contact incident, you will have to use your two-month-old iTunes backups. Each phone should have their contacts the way they were from your last backup. You then go into Settings>iCloud>and turn off contacts. You then can choose if you want to keep your current contacts or not. Turn this off on both phones just incase you add another iCloud device to the mix later on. Now your contact lists are no longer linked (Caution: side effect may include lack of edit button). You may now add and delete contacts as you please without it happening on your other phone.
    Thank you for choosing Apple.

  • How do I reset my apple id security question with out a rescue email

    How do I reset my apple id security question with out a rescue email?

    You need to ask Apple to reset your security questions; ways of contacting them include clicking here and picking a method for your country, phoning AppleCare and asking for the Account Security team, and filling out and submitting this form.
    They wouldn't be security questions if they could be bypassed without Apple verifying your identity.
    (101013)

  • How do i log in on a macbook air with out wifi for the first time

    How do i log in on a macbook air with out wifi for the first time

    More details needed.
    Otherwise just startup the computer and enter your password.
    New Mac?
    A new Mac comes with 90 days of free tech support from AppleCare.
    AppleCare: 1-800-275-2273
    Call AppleCare.
    Best.

  • How do you transfer songs to a new iPod with out a computer

    Been thinking on getting a new iPod but I don't know how to transfer songs from one to the other with out a computer

    You can redownload iTunes purchases directly to the iPod by the followong for newer iPods
    Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • How to get the line in the template (smartform) with out using under score

    Hi,
         How to get the line in the template (smartform) with out using under score,
         and how to print the box (line the check box - small squre box (which is used ot mark the tick by the user in front of the item).
         Please provide the valueble answer as early as possible.
    Thanks,
    Ravi

    Hi Ravi,
    Line -
    Use a SMATSTYLE for this purpose.in the smartstyle create a paragraph or character with underline atribute.Then call the smartstyle in the text.
    Search SDN with Key <b>UNDERSCORE</b>.. will get few more posts on the same.
    For Checkbox - refer link
    Re: Quick Question on Smartforms
    Re: putting tick mark into check box in smartform
    Reward points if this Helps.
    Manish
    Message was edited by:
            Manish Kumar

  • How do i get through find my i phone with out knowing the past apple id or password?

    how do i get through find my i phone with out knowing the past apple id or password?

    If the iPhone has Activation Lock - that is, it's asking for the previous owner's Apple ID and password to activate the device - then you will need that information, or you'll need to get the previous owner to remove the device from his/her iCloud account:
    http://support.apple.com/kb/PH2702
    If you can't reach the previous owner or he/she is unwilling to cooperate, then the device is unusable by you. If you recently purchased the iPhone, return it for a refund if you can.
    Regards.

  • Is there any way how i can download and run Window based games, with out installing Windows-thus Bootcamp? and if so, is it free?

    is there any way how i can download and run Window based games, with out installing Windows-thus Bootcamp? and if so, is it free?

    No, you must install Windows to run Windows software. You do not need to use Boot Camp (yes, it's free because it comes with OS X.)
    Windows on Intel Macs
    There are presently several alternatives for running Windows on Intel Macs.
    Install the Apple Boot Camp software.  Purchase Windows XP w/Service Pak2, Vista, or Windows 7.  Follow instructions in the Boot Camp documentation on installation of Boot Camp, creating Driver CD, and installing Windows.  Boot Camp enables you to boot the computer into OS X or Windows.
    Parallels Desktop for Mac and Windows XP, Vista Business, Vista Ultimate, or Windows 7.  Parallels is software virtualization that enables running Windows concurrently with OS X.
    VM Fusionand Windows XP, Vista Business, Vista Ultimate, or Windows 7.  VM Fusion is software virtualization that enables running Windows concurrently with OS X.
    CrossOver which enables running many Windows applications without having to install Windows.  The Windows applications can run concurrently with OS X.
    VirtualBox is a new Open Source freeware virtual machine such as VM Fusion and Parallels that was developed by Solaris.  It is not as fully developed for the Mac as Parallels and VM Fusion.
    Note that Parallels and VM Fusion can also run other operating systems such as Linux, Unix, OS/2, Solaris, etc.  There are performance differences between dual-boot systems and virtualization.  The latter tend to be a little slower (not much) and do not provide the video performance of the dual-boot system. See MacTech.com's Virtualization Benchmarking for comparisons of Boot Camp, Parallels, and VM Fusion. Boot Camp is only available with Leopard or Snow Leopard. Except for Crossover and a couple of similar alternatives like DarWine you must have a valid installer disc for Windows.
    You must also have an internal optical drive for installing Windows. Windows cannot be installed from an external optical drive.

  • How can i invoke a file chooser dialog box with out using input type=file

    how can i invoke a file chooser dialog box with out using <input type=file> can any one help me mail me to [email protected]

    You could use an applet...
    Or maybe Javascript has some way to do it.

  • Is it possible to invalidate session when I click my browsers back button

    Hai
    I have a question.
    I am building a jsp page with multiple forms.As of now,
    no login system has been implemented.
    I need my session to time out when the client click on the back
    button on the browser to prevent data corruption.
    Is there a possible way to do this in Java/ Script
    I know the use of session.invalidate() but how to tie it up to the
    browser's back button
    A second problem
    If I use session.invalidate() on Tomcat 3.2
    I find that it is not invalidated.But this same function on tomcat 4
    doesn't have any problem
    Could anyone help on these issues
    Thanks

    You don't mean you want to invalidate session every time you move to a new page, do you? If you do, after implementation of login system the users will be asked for passwords at each page. If you don't, it's better to use headers for your response.
    response.setHeader("Cache-Control", "no-cache");
    response.setHeader("Expires", "-1");

  • How to invalidate session ids

    dear all ,
    Any knows how to invalidate the session ids .
    Ex . Server maintains maintains many client session ids
    I want invalidate those client session ids ,,,'

    There are several cases when a session is invalidated:
    1. when the time specified in web.xml elapsed (session-timeout tag) - this is specified for the entire server
    2. when using session.setMaxInactiveInterval. specs:
    "Specifies the time, in seconds, between client requests before the servlet container will invalidate this session."
    3. when you call session.invalidate() specs: " Invalidates this session then unbinds any objects bound to it." With this, the session is immediately invalidated.

Maybe you are looking for