Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    Logout Redirection for MetaLib Guest Users - MetaLib Version 4

    • Article Type: General
    • Product: MetaLib
    • Product Version: 4

    Description:
    What does www_v_lng/end-session file controls?

    Resolution:
    The end-session file under each instance controls the logout process for the MetaLib guest users.
    This file can be configured to contain a redirection to a MetaLib module or to a hard-coded URL.

    In version 4 the line responsible for the page re-direction appears twice within the end-session file - once for the setting where the Java Script is enabled and another - when it is disabled.

    Example 1: Redirection to a hardcoded URL (the line that is used when Java Script is disabled starts with //Restart\\):

    <html lang="//en\\">
    <head>
    <title>//MetaLib&#174;\\ - //End Session\\ </title>
    <link rel="stylesheet" type="text/css" href="&server_css/&library/www_v_eng/metalib.css">
    </head>
    <body onload="window.location = 'http://www.destinationpage.com''">

    <noscript>
    <include>banner

    <div id="sso">
    //Restart\\ <a href="http://www.destinationpage.com">MetaLib Session\\</a>
    </div>
    </body>
    </html>

    You will probably need to change the text "MetaLib Session" to something else.

    Example 2: Redirection to the default MetaLib module (the line that is used when Java Script is disabled starts with //Restart\\):

    <html lang="//en\\">
    <head>
    <title>//MetaLib&#174;\\ - //End Session\\ </title>
    <link rel="stylesheet" type="text/css" href="&server_css/&library/www_v_eng/metalib.css">
    </head>
    <body onload="window.location = '&server_vir?func='">

    <noscript>
    <include>banner

    <div id="sso">
    //Restart\\ <a href="&server_vir?func=">//MetaLib Session\\</a>
    </div>
    </body>
    </html>


    Example 3 - redirection to a specific MetaLib module, in this case to the MetaSearch:

    html lang="//en\\">
    <head>
    <title>//MetaLib&#174;\\ - //End Session\\ </title>
    <link rel="stylesheet" type="text/css" href="&server_css/&library/www_v_eng/metalib.css">
    </head>
    <body onload="window.location = '&server_vir?func=meta-1'">

    <noscript>
    <include>banner

    <div id="sso">
    //Restart\\ <a href="&server_vir?func=meta-1">//MetaLib Session\\</a>
    </div>
    </body>
    </html>

    Additional Information

    session, logout, redirect


    • Article last edited: 10/8/2013
    • Was this article helpful?
    //Feedback