Html code for closing the browser window on logoff.

Hello,
I am using the logoff redirecrt url feauture to divert the logoff page to a custom made html page. I want this page should be closed automatically after being called i.e. when I click the logoff button it should divert to this custom html page and than close the browser automatically.
Can you please help me with the code for this custom html page so that it closes the whole browser automatically when it get called.
Regards
Deb

Don't know about the coding. May be we can do it by setting the property
Initial State - Open or Closed or may be make that window Invisible.
Others will advice you soon related to this.
Regards
Puneet

Similar Messages

  • Labview code for closing the command window

    Hi,
    This is naveen.Actually we are using 3rd paty test software for our mobile hardware testing which creates an DOS or Command window after execution.We have automated to execute this software using labview.the problem we facing is that we couldn't run the test software unless we close or kill the dos window opened in the previous run.So i like to know whether you have any labview code for closing or killing the DOS window ,i request you help me in this regard.
    regards,
    Naveen 

    Use the System Exec VI Owning Palette: Libraries & Executables VIs and Functions.
    And take a look here http://www.tech-recipes.com/rx/446/xp_kill_windows_process_command_line_taskkill/
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)

  • Issue Tracker app closing the browser window on chart page

    Hi!
    I am walking through the Issue tracker tutorial. I have created page 10 (Issues Resolved by Month) which is the chart page. Everything looked fine until I try to run the page. Then it simply closed the browser window after it authenticates me. Anyone else see this? Any ideas?
    Thanks!

    Probably a problem with your SVG viewer installation. Does it happen on other chart pages as well? What browser/svg viewer version combination are you using? There are some known issues with what's labeled as the current svg viewer on Adobe's website and Firefox.
    Earl

  • Event handling for closing a browser window on portal in web dynpro abap

    Hi,
    I am new to portal as well as web dynpro. Is it possible to handle portal events in web dynpro abap? My requirement is whenever a browser window is closed on portal, if any new system messge has been added I want to display them in a pop-up. I checked examples from the package 'SWDP_TEST' but they trigger events in web dynpro and pass them to portal. I want to subscribe to the close event of portal and handle it in my web dynpro abap application. How can I achieve this? Please suggest.
    Thanks and regards,
    Amrutha

    Amrutha S wrote:
    Is it possible to handle portal events in web dynpro abap? My requirement is whenever a browser window is closed on portal, if any new system messge has been added I want to display them in a pop-up. I checked examples from the package 'SWDP_TEST' but they trigger events in web dynpro and pass them to portal. I want to subscribe to the close event of portal and handle it in my web dynpro abap application. How can I achieve this? Please suggest.
    Hi,
    I dont think that you can code to close IE browser window as you cannot access MS IE APIs in WD ABAP. I looked into closing IE browser and got http://p2p.wrox.com/general-net/16588-handling-ie-close-event.html . reading this, it seems the coding can be done in C#(asp) etc.
    also refer Closing of IE window
    I hope this is useful for you.
    Thanks,
    Chandra

  • Closing the browser window

    I have a page that opens vignettes [videos] built using Captivate in a new window.  What I'd like is to close this window once the video has stopped playing i.e. reached the last slide/frame.
    I've tried setting properties on the last slide in the project to "Execute Javascript" and using "window.close();" as the code. But this doesn't seem to close the browser window. If I change the JS to something like "alert('Hello');", it works i.e. I do get a JS Alert window at the end of the video.
    I am sure this is easy for folks who've been working with Captivate, but I just started using this morning so any help would be appreciated.
    Thanks.
    Captivate Newbie

    Hi there
    I'm guessing you didn't read our Frequently Encountered Issues topic that has been designed to provide the answers to some of the more commonly asked questions.
    Click here to view
    Pay special attention to the tenth item listed.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Closing the browser window in the runtime

    Hi all,
    How to close the browser window at the runtime?
    It should be based on the button click....

    With the JavaScript function window.close().
    See e.g. here an example and a remark on its usage:
    http://www.javascript-coder.com/window-popup/javascript-window-close.phtml
    Jan Kettenis

  • Closing the browser windows created by web.show_document and javascript

    From Forms I am issuing a http request using web.show_document and javascript:window.open(). The http request makes a remote procedure call to a coldfusion component on a JRun appserver. I want this rpc to fire in the background so that the current forms browser window remains as is.
    The logic is as follows
    l_rpcURL := 'http://....just a standard URL.....'; -- edited for this thread
    l_jsURL := 'javascript:window.open("' || l_rpcURL || '","","fullscreen=no,titlebar=no,location=no,toolbar=no,menubar=no,status=no,resizable=no");self.close();';
    WEB.SHOW_DOCUMENT (l_jsURL,'_blank');
    The http request works fine but leaves a browser window behind. It's the one created by the javascript.window.open(). If I remove the self.close() from the javascript then I have two browser windows open, one from web.show_document and the other, as described previously, from the window.open().
    Any idea how I can force closure of the window opened by the window.open() ?
    Thanks

    Hi,
    did this occured afer installing service pack 2?
    A work around is The only solution that is to create a close.html file and calling this file in the code: Web.show_document('http://server:port/close.html','_self');
    <html>
    <body onload="closeit()">
    <script>
    window.close();
    </script>
    </body>
    </html>
    Monica

  • Closing the browser window in Java

    Hi All,
    My wireless application works on a PDA browser. The PDA browser doesn't support javascript. When user wants to logoff from the application, he clicks on the logoff button. After clicking it the current browser window should close.
    I am using XHTML-MP markup language to develop the page instead of HTML.
    I need a piece of code (Example Java code, not Javascript code) in order to close the current window browser.
    Any help will be welcome.
    Shrikant

    There is no such code, I hope.I wouldn't be sure about PDAs. I haven't used one yet. But logically, there should not be any code like that.

  • I was playing with the Group Tabs/Panorama function and accidentally closed all of my tabs. Then I closed the browser window. Is there any way to restore all my tabs?

    I'm using Firefox 6.

    I have the same issue and didn't even close my browser. I closed a tab group, and they're ''gone''. I've always used ''warn me when closing multiple tabs''; why didn't it prevent this?
    I dutifully updated to 6.0.1 (Win7 Pro 64bit SP1) today, and saw "''Tabs, meet groups''." I played briefly with a group and then clicked (x).
    While exploring the UI, I had assumed I was manipulating a filter rather than the actual tabs. No reason to suspect this would close an entire window's worth. The "restore tab group" button suggested I'd merely ungrouped the tabs. No biggie; new feature playtime is over for now. The background blur was still present, so again no worry that my six or eight tabs were about to be annihilated.
    The recently closed window list includes three pages from yesterday. Naturally the recently closed tabs ''from the other window'' aren't here.
    My full history is sorted by visit date; why isn't each tab added to today's list after a restart? Now I'll search the entire history to ensure I'm not forgetting one. Tab groups are likely quite nifty, but for now I'm irritated with 'em.
    '''Why didn't "''warn me when closing multiple tabs''" kick in''' to alert me?!
    SUGGESTION:
    '''''Warning:''' The 'tabs group' feature does not care if you've checked "warn me on closing multiple tabs." If you click the (x), you're hosed.''

  • Portal not closing session when closing the browser window

    Hi,
    We have a problem in portal where the user logs onto Portal with their userid/password and has another window opened eg. www.google.com.
    The user then closes their browser(x) on IE, but still has the other session opened. (www.google.com)
    Later the user tries to logon to Portal, but is not prompted with their userid/password, and is taken directly into Portals.
    This is a problem, we want the users to always be prompted with their userid/password.
    Thanks
    Sushanth

    If the second browser session is a child of the first (e.g. started via Ctrl-N) the session context is inherited, including session cookies (here: MYSAPSSO2), which are relevant for user authentication against the portal.
    That's how IE works.
    If the second browser is a new instance and the session cookie is set in this browser session as well, it's a browser bug. Try to update OS and/or IE.

  • Closing the browser window, after the dialog box

    How are you handling the 'NO' scenario ?
    Moreover are u firing the plug even before popping up the message ? Please check this once.. it might be the cause for it.

    Are you popping up the confirmation dialog from a WD application ?
    If so there will be a handler method for action 'NO' very similar to the following :
        CALL METHOD window->subscribe_to_button_event
          EXPORTING
            button            = if_wd_window=>co_button_yes               " For the button YES
            button_text       = <button_text>
            tooltip           = <tooltip_text>
            action_name       = 'YES_ACTION'                                  " Handler action for YES. Ideally the plug should be fired here
            action_view       = view_controller
            is_default_button = abap_true.
        CALL METHOD window->subscribe_to_button_event
          EXPORTING
            button            = if_wd_window=>co_button_no
            button_text       = <button_text>
            tooltip           =  <tooltip_text>
            action_name       = 'CANCEL_ACTION'                            " Handler action for NO
            action_view       = view_controller
            is_default_button = abap_false.
    The handler method for action CANCEL_ACTION will be ONACTIONCANCEL_ACTION. The handling should be done there.

  • Closing the browser without popup message

    Hi Experts,
    I refered the following thread and done the below steps
    1.Create a Button called Exit.
    2.Create an action for this button.
    3. In the event handler for this button, write the following code:
    String Url;
    try {
    Url = WDURLGenerator.getWebResourceURL(wdComponentAPI.getComponent().getDeployableObjectPart(),"close.html");
    wdThis.wdGetAtpEmpDetailsWinInterfaceViewController().wdFirePlugExitPlug(Url);
    } catch (Exception e) {
    wdComponentAPI.getMessageManager().reportException("Technical Exception occured in the application : " + e.toString(), true);
    4.Create a html page called u201Cclose.htmlu201D with Javascript code for closing a browser window.
    5.Place this html page in SRC -> Mimes -> Components -> Project Structure(Create this folder and place the html page in this folder)
    I have used Ie 7.0
    My questin is when i clicking the button. It show popup message like
    "Do you want to close this window " I don't want this popup.
    without popup i need to close this window? How to do that?
    Regards,
    Manivannan P

    Hi Manivannan p,
    1.Create a Button called Close.
    2.Create an action for this button.
    3. In the event handler for this button, write the following code
    You can try this
    public void onActionClose(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
    //@@begin onActionClose(ServerEvent)
    WDPortalEventing.fire("urn:com.sapportals:navigation", "CloseWindow", "");
    //@@end
    This will help you closing the window with out Popup
    Here we are calling a "Portal Event" called " CloseWindow" to close the windoe
    Get back if you have any questions
    Thanks & Regards
    Swetha

  • Html-code for showing cover of current issue?

    Has anyone an example of a simple html-code for showing the latest issue?
    All I need is the adress to the image-file.

    There was a problem like that in the WYSIWYG before 7.0.2 as
    described in Using RH7 on my site. However, that was local and the
    patch fixed it.
    I had a completely different problem a while back but wonder
    if the solution might work. Speak to your web guys and suggest
    this.
    Add the AddDefaultCharset utf-8 directive to either the
    Apache config or the site .htaccess file
    It's a long shot. I don't know what other effects it might
    have on your server but the web guys should.

  • Exit the Browser window while closing the form in ORACLE 10g

    Hai,
    Is it possible to cIose the browser window while closing the form in Oracle 10g.
    I wrote a code EXIT_FORM in a "WHEN BUTTEN PRESSED" TRIGGER and
    web.show_document('javascript:window.close()','_self'); in "POST-FORM" trigger
    But it only closes the form.
    Please help me with the fast & useful responds.
    Bye

    create a file called close.html with the following code
    <html>
    <body onload="closeit()">
    <script>
    function closeit()
    window.close();
    </script>
    </body>
    </html>
    call close.html in post-form like this
    WEB.SHOW_DOCUMENT('/forms90/myhtml/close.html','_self');
    You have to do the directory mapping

  • Configuring the browser window title for an iWeb-created page?

    Hello all,
    How do you customize the text that appears in the browser window's title for an iWeb-created page? (e.g., at the top of the browser window where it says "Apple - Support - Discussions - etc."). I had assumed that the the name I designated for the page via the Inspector would be used as the browser window title, but instead iWeb is using the first line of text within the page itself.
    Thanks!

    You can do it with a HTML snippet with the following code:
    <script type='text/javascript'>
    parent.document.title = "name you want to appear at the top of the window";
    </script>
    It takes about a second or two to replace the original text as can be seen in this test page.
    Put the snippet box off somewhere where it won't overlap on any other element. It is invisible on the web page and in iWeb until you click on it. I had to do a Select All to find it just now to get the code.
    OT

Maybe you are looking for

  • ERROR : MDDataSetBW.GetCellData

    Hi I have this error when i lunch a query on BO, why? The query based on anagen linked to a Multiprovider on BW. Please colud you help me? Thank you very much. Massimo.

  • Enquiry in afru table

    Dear all,           can any one pls give me the BAPI to update the AFRU table? Regards, Pooja

  • Text in special form

    Hi, I just wan't to make a text in a special form(like a circle) How can I do this. I make a text but i cant find a circle as vector??

  • How to track a set of transports corresponding to a single role

    Hi Experts, Can you please let me know where can I find the list of transports corresponding to a particular role. Ex: I have a role to which i have made changes 4 times in the last 2 weeks.i move the 4 changes in 4 different trasport requests to Qua

  • New MacBook Pro doesn't recognise external Freecom HHD

    Just got myself a brand spanking new 15" MacBook Pro with the i7 processor running (obviously) OS X 10.6.3. My problem is the machine does not recognise my Feecom 400GB external hard drive (USB). Doesn't show up in finder or under disk utility. And o