CINXE.COM
Law Society of Ireland Gazette
<!DOCTYPE html> <html lang="en-IE"> <head> <meta name="viewport" content="width=device-width,initial-scale=1" /> <title>Law Society of Ireland Gazette</title> <!-- ADOBE TYPEKIT --> <script src="https://use.typekit.net/yao3pdk.js"></script> <script>try { Typekit.load({ async: true }); } catch (e) { }</script> <!-- FONTAWESOME --> <link rel="stylesheet" href="/css/fancybox/jquery.fancybox.css?v=2.0.4" type="text/css" media="screen" /> <!--GOOGLE FONT--> <link href="https://fonts.google.com/specimen/Bitter?stroke=Serif" rel="stylesheet" /> <link rel='stylesheet' type='text/css' href='//fonts.googleapis.com/css?family=Lato:300,400|Open+Sans:400,600,700|Raleway:300,500' /> <link href="https://fonts.cdnfonts.com/css/manrope" rel="stylesheet"> <link href="https://fonts.cdnfonts.com/css/pt-serif" rel="stylesheet"> <!-- FAVICON --> <link rel="apple-touch-icon" sizes="57x57" href="/img/icons/apple-icon-57x57.pn"> <link rel="apple-touch-icon" sizes="60x60" href="/img/icons/apple-icon-60x60.png"> <link rel="apple-touch-icon" sizes="72x72" href="/img/icons/apple-icon-72x72.png"> <link rel="apple-touch-icon" sizes="76x76" href="/img/icons/apple-icon-76x76.png"> <link rel="apple-touch-icon" sizes="114x114" href="/img/icons/apple-icon-114x114.png"> <link rel="apple-touch-icon" sizes="120x120" href="/img/icons/apple-icon-120x120.png"> <link rel="apple-touch-icon" sizes="144x144" href="/img/icons/apple-icon-144x144.png"> <link rel="apple-touch-icon" sizes="152x152" href="/img/icons/apple-icon-152x152.png"> <link rel="apple-touch-icon" sizes="180x180" href="/img/icons/apple-icon-180x180.png"> <link rel="icon" type="image/png" sizes="192x192" href="/img/icons/android-icon-192x192.png"> <link rel="icon" type="image/png" sizes="32x32" href="/img/icons/favicon-32x32.png"> <link rel="icon" type="image/png" sizes="96x96" href="/img/icons/favicon-96x96.png"> <link rel="icon" type="image/png" sizes="16x16" href="/img/icons/favicon-16x16.png"> <link rel="manifest" href="/img/icons/manifest.json"> <meta name="msapplication-TileColor" content="#ffffff"> <meta name="msapplication-TileImage" content="~/img/icons/favicon-28-10-2019/ms-icon-144x144.png"> <meta name="theme-color" content="#ffffff"> <!-- Optionaly add button and/or thumbnail helpers --> <link rel="stylesheet" href="/css/fancybox/jquery.fancybox-buttons.css?v=2.0.4" type="text/css" media="screen" /> <link rel="stylesheet" href="/css/fancybox/jquery.fancybox-thumbs.css?v=2.0.4" type="text/css" media="screen" /> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" /> <link rel='stylesheet' type='text/css' href='/css/GazetteCSS.css' /> <link rel='stylesheet' type='text/css' href='/css/respond.css' media='screen' /> <script type="text/javascript" src="/js/jquery-3.4.1.min.js"></script> <script type="text/javascript" src="/js/jquery-1.12.1-ui.min.js"></script> <script type="text/javascript" src="/js/components.min.js"></script> <script type="text/javascript" src="/js/conformity.min.js"></script> <script type="text/javascript" src="/js/GazetteJS.js"></script> <script type="text/javascript" src="/js/fancybox/jquery.mousewheel-3.0.6.pack.js"></script> <script type="text/javascript" src="/js/fancybox/jquery.fancybox.pack.js?v=2.0.4"></script> <script type="text/javascript" src="/js/fancybox/jquery.fancybox-buttons.js?v=2.0.4"></script> <script type="text/javascript" src="/js/fancybox/jquery.fancybox-thumbs.js?v=2.0.4"></script> <script type='text/javascript' src="/Scripts/slimmage.js"></script> <script type='text/javascript' src="//platform-api.sharethis.com/js/sharethis.js#property=5c3da5efe790f700113a47f5&product=inline-share-buttons"></script> <!--Bootstrap v4.0.0 css --> <link rel="stylesheet" href="/bootstrap/css/ebiz-bootstrap-for-episerver.css"> <!--Popper js --> <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script> <!--Ebiz6 css/ Responsive css --> <link rel="stylesheet" type="text/css" href="/bootstrap/css/eb6-episerver.css"> <link rel="stylesheet" type="text/css" href="/ui/css/responsive.css"> <script src="/UI/js/3rdParty/jquery-3.2.1.min.js"></script> <!-- Bootstrap v4.0.0 JS - Important: DO not move this file to another position on the page --> <script type="text/javascript" src="/bootstrap/js/bootstrapv4.min.js"></script> <script type="text/javascript"> var eBusinessJQObject = $.noConflict(true); </script> <script src="/js/js.cookie.js"></script> <script src="/UI/js/3rdParty/knockout-3.4.2.js"></script> <script src="/UI/js/3rdParty/knockout.validation.min.js"></script> <script src="/UI/js/configuration/ebConfig.js"></script> <script src="/UI/js/Login__lsi.js"></script> <script src="/UI/js/UserContext.js"></script> <script src="/UI/js/HeaderMenu.js"></script> <link href="/UI/css/components/Gazette_Cookies.css" rel="stylesheet" /> <script type="text/javascript"> $(document).ready(function () { $(".fancybox").fancybox({ openEffect: 'none', closeEffect: 'none', helpers: { title: { type: 'outside' } } }); }); </script> <!-- Facebook Pixel Code --> <script> !function (f, b, e, v, n, t, s) { if (f.fbq) return; n = f.fbq = function () { n.callMethod ? n.callMethod.apply(n, arguments) : n.queue.push(arguments) }; if (!f._fbq) f._fbq = n; n.push = n; n.loaded = !0; n.version = '2.0'; n.queue = []; t = b.createElement(e); t.async = !0; t.src = v; s = b.getElementsByTagName(e)[0]; s.parentNode.insertBefore(t, s) }(window, document, 'script', 'https://connect.facebook.net/en_US/fbevents.js'); fbq('init', '1013023795573656'); fbq('track', 'PageView'); </script> <noscript> <img height="1" width="1" src="https://www.facebook.com/tr?id=1013023795573656&ev=PageView&noscript=1" /> </noscript> <!-- End Facebook Pixel Code --> <style> #st_gdpr_iframe { display: none; } </style> </head> <body style="min-height:725px;"> <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-VPC9VCV27X"></script> <script type="text/javascript"> window.dataLayer = window.dataLayer || []; function gtag() { dataLayer.push(arguments); } gtag('js', new Date()); gtag('config', 'G-VPC9VCV27X');//'G-MJL99LJVKR'); </script> <div class="overlay"></div> <form id="Form1"> <script type="text/javascript" src="/js/CookieModal.js"></script> <script type="text/javascript"> //Check if cookie exists $(document).ready(function () { var lawsocCookie = getCookie("LSI"); var PrivacyVal = $('#privacyVal').val; if (lawsocCookie != "") { //Exists if (PrivacyVal == "true") { document.cookie = "LSI" + '=; Path=/; Expires=Thu, 01 Jan 1970 00:00:01 GMT;'; CreatePrivacyCookie(); } } else { document.cookie = "LSI" + '=; Path=/; Expires=Thu, 01 Jan 1970 00:00:01 GMT;'; } }); </script> <script> $(document).ready(function () { var coll = document.getElementsByClassName("cookiecollapsible"); var i; for (i = 0; i < coll.length; i++) { coll[i].addEventListener("click", function () { this.classList.toggle("active"); var content = this.nextElementSibling; if (content.style.maxHeight) { content.style.maxHeight = null; $(this).children('.fa').toggleClass('fa-chevron-up fa-chevron-down'); } else { content.style.maxHeight = content.scrollHeight + "px"; $(this).children('.fa').toggleClass('fa-chevron-down fa-chevron-up'); } }); } }); </script> <div id="myModal" class="cookiemodal" style="Display:block;"> <div class="content-top"> <div class="cookiemodal-body"> <div class="cookieWidth"> <p>We use cookies to collect and analyse information on site performance and usage to improve and customise your experience, where applicable. View our <a href="/link/7e3d8b06353646439466df5af58dbdf5.aspx">Cookies Policy</a>. Click <strong>Accept and continue </strong>to use our website or <strong>Manage </strong>to review and update your preferences.</p> <br /> </div> <div class="btn-div-wrap"> <input type="button" class="btn btn-primary" onclick="AcceptCookies()" value="Accept & continue" /> <input type="button" class="btn btn-secondary" onclick="PreferenceModal()" value="Manage" /> </div> </div> </div> </div> <input type="hidden" id="privacyVal" /> <div id="myModal2" class="cookiemodal" style="display: none;"> <div class="content-bottom"> <div class="header-cookie"> <h1>Your cookie preferences</h1> </div> <div class="cookiemodal-body-modal2"> <div class="spacingBottom"> <div class="header-switch"> <h3>Strictly necessary cookies</h3> <label class="cookie-switch" style="display: none;"> <input type="checkbox" checked disabled> <span class="slider-btn slider-btn-bg"></span> </label> </div> <div class="cookie-text"> <p>The following cookies are necessary to allow you to access the website including login, move between pages and to receive services which you have requested. They include cookies to store analytics and track user interactions so we can personalise content to best suit your interests and needs.</p> </div> <div class="cookiecollapsible"> <a class="">View necessary cookies</a> <i class="fa fa-chevron-down"></i> </div> <div class="cookiecontent"> <table class="cookietable"> <tbody> <tr> <th>Cookie name</th> <th>Duration</th> <th>Cookie purpose</th> </tr> <tr> <td>ASP.NET_SessionId</td> <td>Session</td> <td>This cookie holds the current session id (OPPassessment only)</td> </tr> <tr> <td>.ASPXANONYMOUS</td> <td>2 Months</td> <td>Authentication to the site</td> </tr> <tr> <td>LSI</td> <td>1 Year</td> <td>To remember cookie preference for Law Society websites (www.lawsociety.ie, www.legalvacancies.ie, www.gazette.ie)</td> </tr> <tr> <td>FTGServer</td> <td>1 Hour</td> <td>Website content ( /CSS , /JS, /img )</td> </tr> <tr> <td>_ga</td> <td> 2 Years</td> <td>Google Analytics</td> </tr> <tr> <td>_gat</td> <td>Session</td> <td>Google Analytics</td> </tr> <tr> <td>_git</td> <td>1 Day</td> <td>Google Analytics</td> </tr> <tr> <td>AptifyCSRFCookie</td> <td>Session</td> <td>Aptify CSRF Cookie</td> </tr> <tr> <td>CSRFDefenseInDepthToken</td> <td>Session</td> <td>Aptify defence cookie</td> </tr> <tr> <td>EB5Cookie</td> <td>Session</td> <td>Aptify eb5 login cookie</td> </tr> </tbody> </table> </div> <hr /> </div> <div class="spacingBottom"> <div class="header-switch"> <h3>Functional cookies</h3> <label class="cookie-switch"> <input type="checkbox" id="FunctionalCookieInput"> <span class="slider-btn"></span> </label> </div> <div class="cookie-text"> <p>These cookies allow the Website to remember choices you make and provide enhanced and more personal features, such as twitter feed and online chat.</p> </div> <div class="cookiecollapsible"> <a class="">View functional cookies</a> <i class="fa fa-chevron-down"></i> </div> <div class="cookiecontent"> <table class="cookietable"> <tbody> <tr> <th>Cookie name</th> <th>Duration</th> <th>Cookie purpose</th> </tr> <tr> <td>Zendesk</td> <td>Local Storage</td> <td>Online Support</td> </tr> <tr> <td>platform.twitter.com</td> <td>Local Storage</td> <td>Integrated Twitter feed</td> </tr> </tbody> </table> </div> <hr /> </div> <div class="spacingBottom"> <div class="header-switch"> <h3>Performance cookies</h3> <label class="cookie-switch"> <input type="checkbox" id="PerformanceCookieInput"> <span class="slider-btn"></span> </label> </div> <div class="cookie-text"> <p><span>Performance cookies monitor site performance and user actions. These cookies do not collect identifiable information.</span></p> </div> <div class="cookiecollapsible"> <a class="">View performance cookies</a> <i class="fa fa-chevron-down"></i> </div> <div class="cookiecontent"> <table class="cookietable"> <tbody> <tr> <th>Cookie name</th> <th>Duration</th> <th>Cookie purpose</th> </tr> <tr> <td>is_returning</td> <td>Session</td> <td>Improve website performance</td> </tr> </tbody> </table> </div> <hr /> </div> <div class="spacingBottom"> <div class="header-switch"> <h3>Marketing cookies</h3> <label class="cookie-switch"> <input type="checkbox" id="MarketingCookieInput"> <span class="slider-btn"></span> </label> </div> <div class="cookie-text"> <p>From time to time, we may use cookies to display advertisements that we believe are relevant to you or work with advertisers to display our own adverts on third party websites, based on cookies set on your visit to the Website. These may include Facebook Advertising, Facebook Pixel Re-Marketing, and communications, and Google Advertising.</p> </div> <div class="cookiecollapsible"> <a class="">View marketing cookies</a> <i class="fa fa-chevron-down"></i> </div> <div class="cookiecontent"> <table class="cookietable"> <tbody> <tr> <th>Cookie name</th> <th>Duration</th> <th>Cookie purpose</th> </tr> <tr> <td>fr</td> <td>3 Months</td> <td>Facebook Advertising - Used for Facebook Marketing</td> </tr> <tr> <td>_fbp</td> <td>3 months</td> <td>Used for facebook Marketing</td> </tr> </tbody> </table> </div> <hr /> </div> <div class="spacingBottom"> <div class="btn-div"> <input type="button" id="btncloseCookiePreferences" class="btn btn-secondary" onclick="ClosePreferences();" value="CANCEL" /> <input type="button" id="btnSubmitCookiePreferences " class="btn btn-primary" onclick="UpdatePreferences();" value="SAVE PREFERENCES" /> </div> </div> </div> </div> </div> <div id="cookieModal-overlay" class="cookieModal-overlay"></div> <div id="" class="flex-wrapper"> <script type="text/javascript" src="/js/main.min.js"></script> <header class="main"> <div class="dsp-table"> <div class="dsp-cell"> <nav class="main-nav"> <div class="base" style="max-width:1170px"> <div class="logo" style="padding-right:30px;padding-top:10px"> <a href="/link/34ea3055f39341c9a058e574c0a2421b.aspx"> <img style="width: 180px;" src="/img/gazette/LawSocietyGazetteIrelandlogo.png" alt="Law Society Gazette Logo"> </a> </div> <ul> <li class="main-nav--item "> <a href="/gazette/">Home</a> </li> <li class="main-nav--item "> <a href="/gazette/top-stories/">Top Stories</a> </li> <li class="main-nav--item "> <a href="/gazette/in-depth/">In-depth</a> </li> <li class="main-nav--item "> <a href="/gazette/issues/">Magazine</a> </li> <li class="main-nav--item "> <a href="/gazette/gallery-video/">Gallery</a> </li> <div class="btn-search--close"> <img src="/img/gazette/icon-close.png" alt="" /> </div> <ul id="MyList" class="drp-down"> <li class="action search-btn">Search <i class="fa fa-search" aria-hidden="true"></i></li> <li class="loginbtn" style="line-height:38px;"> <a id="btnMenuLogin" class="lock" href="/login?ReturnUrl=/gazette/advertise-jobs/"><i class="fa fa-lock"></i><span> Login</span></a> </li> <li class="subscribe"><a href="/link/44152fe842354b04a16c19a738263089.aspx">Subscribe</a></li> </ul> </ul> </div> </nav> </div> </div> </header> <header class="mobile mobilemenu"> <div class="dsp-table"> <div class="dsp-cell"> <nav class="mob-nav"> <div class="base"> <div class="logo "> <a href="/link/34ea3055f39341c9a058e574c0a2421b.aspx"> <img src="/img/gazette/Logo2Mob.png" alt="Law Society Gazette Logo" class="MobileLogo"> </a> </div> <ul class="nav-items" style="float:right" id="HeaderDropdown"> <li class="" id="HeaderDropdownTopStories" style="display:block"><a href="/gazette/top-stories/">Top Stories</a></li> <li class="" id="HeaderDropdownAnalysis" style="display:block"><a href="/gazette/in-depth/">In-depth</a></li> <li class="more" id="HeaderDropdownMore"> More <ul class="nav-items-dd"> <li class=""> <a href="/gazette/subscription-page/">Subscribe</a> </li> <li class=""> <a href="/gazette/issues/">Magazine</a> </li> <li class=""> <a href="/gazette/gallery-video/">Gallery</a> </li> <li class=""> <a href="/gazette/search/">Search</a> </li> <li class=""> <a href="/gazette/">Gazette</a> </li> </ul> </li> <li class="loginbtn" style="display:block"> <a id="btnMobMenuLogin" class="lock" href="/login?ReturnUrl=/gazette/advertise-jobs/"><i class="fa fa-lock"></i><span> Login</span></a> </li> </ul> </div> </nav> </div> </div> </header> <div class="search-feature form"> <div class="base" style="color: #797979;"> <div class="header-search"> <form> <input formaction="/gazette/search" name="filter" type="text" placeholder="Enter keyword..." id="txtSearchKeywords" class="search-field" autocomplete="off" BackColor="#e4e4e4" /> <button formaction="/gazette/search" id="btnSearchButton" class="btn btn-search">Search</button> </form> </div> </div> </div> <script type="text/javascript"> $("#lnkLogout").submit(function (e) { e.preventDefault(); }); </script> <div class="subnav"> <div class="base"> <ul class="clearfix"> </ul> </div> </div> <div ID="MainContent" ContentPlaceHolderID="MainContentRegion"> <section class="strip pt-8 article"> <div class="base"> <div class="row clearfix"> <div class="col-11"> <h1 class="mt-3"> Advertise your legal vacancy </h1> <p><b>Advertise your legal vacancy</b></p> <p>Need legal staff?</p> <p>With over 50,000 monthly views the <a href="/link/29bf56a02b544f8bad3f4267abba2942.aspx">Legal Vacancies</a> website is acknowledged as the best place for employers to advertise legal jobs and positions within a legal environment across Ireland.</p> <p><strong>Fees</strong></p> <p>A choice of job ad types are available at highly competitive rates, ranging from a basic online job ad to a number of display ad options.</p> <p>Introductory prices start at:</p> <ul> <li>€350 plus VAT for solicitors who hold Law Society of Ireland members</li> <li>€550 plus VAT for non-members</li> <li>€200-€400 plus VAT for a display ad</li> </ul> <p>Full details of ad types, other packages and how to post can be found on the <a href="/link/afb1c9dcd89f47818f9ac3ad67f07299.aspx">Legal Vacancies website</a>.</p> <h2> </h2> </div> <div class="col-4 col-pl-1"> </div> </div> <div class="mt-3"> </div> </div> </section> </div> <div class="clear_both" style="padding-top:10px"> </div> <div style="flex-grow: 1"></div> <!-- Any content below this will always be at bottom. The blank div fill unused space right before the footer --> <footer class="main"> <div class="dsp-table"> <div class="dsp-cell"> <nav> <div class="base"> <ul class="main"> <li> <a href="/gazette/advertise-with-us/">Advertise with us</a> </li> <li> <a href="/gazette/advertise-jobs/">Advertise jobs</a> </li> <li> <a href="/gazette/privacy/">Privacy/Cookies</a> </li> </ul> <ul class="FooterOff"> <li class="bk-top top-of-page"><a href="#top">Back to top <i class="fa fa-angle-up" aria-hidden="true"></i></a></li> <li class="subscribe"><a href="/link/44152fe842354b04a16c19a738263089.aspx">Subscribe</a></li> </ul> </div> </nav> </div> </div> </footer> <footer class="gazetteFooter"> <div class="footerContent"> <div class="base"> <div class="footerInsideContent"> <div class="footerTable"> <ul> <li> <a href="https://www.facebook.com/lawsocireland/"><i class="fa fa-facebook footerIcons"></i></a> </li> <li> <a href="https://twitter.com/lawsocireland"><i class="fa fa-twitter footerIcons"></i></a> </li> <li> <a href="https://www.linkedin.com/school/924988?pathWildcard=924988"><i class="fa fa-linkedin footerIcons"></i></a> </li> <li> <a href="https://www.instagram.com/lawsocietyireland/"><i class="fa fa-instagram footerIcons"></i></a> </li> <li> <a href="https://www.youtube.com/channel/UCZdZdzOHK8CIeqrmXG1XHLw"><i class="fa fa-youtube footerIcons"></i></a> </li> </ul> </div> <div style=" vertical-align: middle; height: 160px; float:left"> </div> </div> </div> <div style=" font-size: 14px;display: inline-block; margin-bottom: 10px; color:#fff;margin-top: 10px;"> <i style="font-size: 14px; " aria-hidden="true"></i> Copyright © 2024 Law Society Gazette. The Law Society is not responsible for the content of external sites – see our <a style="color:#fff; text-decoration: underline;" href="/link/71257020ca4542c882c6c1df47c36e05.aspx">Privacy Policy</a>. </div> </div> </footer> <footer class="MobilegazetteFooter"> <div class="footerContent"> <ul class="main"> <li style="list-style:none"> <a style="color:white" href="/gazette/advertise-with-us/">Advertise with us</a> </li> <li style="list-style:none"> <a style="color:white" href="/gazette/advertise-jobs/">Advertise jobs</a> </li> <li style="list-style:none"> <a style="color:white" href="/gazette/privacy/">Privacy/Cookies</a> </li> </ul> <ul style="display:block;text-align: center;"> <li style="list-style:none; padding-right:10px;display: inline-block;"> <a href="https://www.facebook.com/lawsocireland/"><i class="fa fa-facebook footerIcons"></i></a> </li> <li style="list-style:none; padding-right:10px;display: inline-block;"> <a href="https://twitter.com/lawsocireland"><i class="fa fa-twitter footerIcons"></i></a> </li> <li style="list-style:none; padding-right:10px;display: inline-block;"> <a href="https://www.linkedin.com/school/924988?pathWildcard=924988"><i class="fa fa-linkedin footerIcons"></i></a> </li> <li style="list-style:none; padding-right:10px;display: inline-block;"> <a href="https://www.instagram.com/lawsocietyireland/"><i class="fa fa-instagram footerIcons"></i></a> </li> <li style="list-style:none; padding-right:10px;display: inline-block;"> <a href="https://www.youtube.com/channel/UCZdZdzOHK8CIeqrmXG1XHLw"><i class="fa fa-youtube footerIcons"></i></a> </li> </ul> <div class=""> <a href=/link/dd486e28d30b40b2aa131a185e40a325.aspx><img src="/img/LSOI_LOGO_WHITE.png" style="height:160px"></a> </div> <div style=" font-size: 14px;display: inline-block; margin-bottom: 10px; color:#fff;margin-top: 10px;"> <i style="font-size: 14px; " aria-hidden="true"></i> Copyright © 2024 Law Society Gazette. The Law Society is not responsible for the content of external sites – see our <a style="color:#fff; text-decoration: underline;" href="/link/71257020ca4542c882c6c1df47c36e05.aspx">Privacy Policy</a>. </div> </div> </footer> </div> </form> <script type="text/javascript"> logoutAllSystems = function (isAutoLogout) { var deferred = jQuery.Deferred(); var CheckisStaffMemberCookie = "False"; /* "<%= CheckStaffCookieVal %>"; */ var returnUrl = ""; if (window.location.pathname != "/") { returnUrl = window.location.pathname; } episerverLogout(isAutoLogout).done(function () { if (CheckisStaffMemberCookie == "False") { eb_UserContext.getContextData(true).done(function (userData) { eb_UserContext.live = new eb_UserContext.model(userData); if (eb_UserContext.live.isUserLoggedIn() <= 0) { //console.log('not logged into eb6'); if (!isAutoLogout) { window.location.assign("/"); } else { if (returnUrl) { window.location.assign("/login?session=expired&ReturnUrl=" + returnUrl); } else { window.location.assign("/login?session=expired"); } } } else { logUserOuteb6().done(function () { //console.log('logged out eb6'); if (!isAutoLogout) { window.location.assign("/"); } else { var logoutLog = ""; /* "<%= LogToEventViewer %>"; */ if (returnUrl) { window.location.assign("/login?session=expired&ReturnUrl=" + returnUrl); } else { window.location.assign("/login?session=expired"); } } }).fail(function () { console.error('Error logging out eb6'); if (returnUrl) { window.location.assign("/login?ReturnUrl=" + returnUrl); } else { window.location.assign("/login"); } }); } }).fail(function (data, msg, jhr) { console.error(msg); }); } else { if (!isAutoLogout) { window.location.assign("/"); } else { var logoutLog = ""; /* "<%= LogToEventViewer %>"; */ if (returnUrl) { window.location.assign("/login?session=expired&ReturnUrl=" + returnUrl); } else { window.location.assign("/login?session=expired"); } } } console.log('Full Episerver logout done'); deferred.resolve(); }).fail(function () { console.error('Failed to log out of eb5/episerver'); deferred.resolve(); }); return deferred.promise(); } // the method that logs users out of EB5 and episerver episerverLogout = function (isAutoLogout) { var deferred = jQuery.Deferred(); fetch('/LoginBlock/Logout', { method: 'POST', headers: { 'Content-Type': 'application/json' } }).then(data => { if (data.returnUrl) { window.location.href = data.returnUrl; } console.log('Server response:', data); deferred.resolve(); }).catch(error => { console.log('Epi logout failed: ', error); deferred.reject(reason); }); return deferred.promise(); } // the method that logs users out of EB6 logUserOuteb6 = function () { var deferred = eBusinessJQObject.Deferred(); var emptyheaders = {}; emptyheaders['__requestverificationtoken'] = 'ABC'; emptyheaders['CSRFDefenseInDepthToken'] = '123'; eb_Config.retrieveCSRFTokens().done(function (headers) { emptyheaders['__requestverificationtoken'] = headers['__requestverificationtoken']; emptyheaders['CSRFDefenseInDepthToken'] = headers['CSRFDefenseInDepthToken']; }).fail(function () { console.error('Failed to retrieve CSRF tokens'); }).always(function () { var logoutUri = '/SOA/services/Authentication/Logout/'; eBusinessJQObject.ajax({ type: "POST", url: logoutUri, xhrFields: { withCredentials: true }, headers: emptyheaders }).done(function (result) { localStorage.clear(); deferred.resolve(result); }).fail(function (msg) { localStorage.clear(); deferred.reject(msg); }); }); return deferred.promise(); } </script> <!--Call Session Code --> <script type="text/javascript"> document.cookie = 'APTIFY_ECOMMERCE_PWD=;path=/;expires=Thu, 01 Jan 1970 00:00:01 GMT;'; document.cookie = 'APTIFY_ECOMMERCE_UID=;path=/;expires=Thu, 01 Jan 1970 00:00:01 GMT;'; document.cookie = 'APTIFY_LMS_UID=;path=/;expires=Thu, 01 Jan 1970 00:00:01 GMT;'; var CheckisEb6AliveUserContext = "No user Context"; eb_UserContext.getContextData(true).done(function (userData) { eb_UserContext.live = new eb_UserContext.model(userData); if (eb_UserContext.live.isUserLoggedIn() <= 0) { CheckisEb6AliveUserContext = 'User is not logged in'; } else { CheckisEb6AliveUserContext = 'Full user context'; } }).fail(function (data, msg, jhr) { console.error(msg); }); var expired = "false"; /* "<%= RedirectToExpired %>"; */ //console.log('Page load check if any missing cookies '); var CheckisStaffMemberCookie = "False"; /* "<%= CheckStaffCookieVal %>"; */ var CheckIsEpiserverCookie = "No Episerver cookie"; /* "<%= CheckIsEpiserverCookieVal %>"; */ //var CheckIsAptify5 = "<%= CheckIsAptify5Val %>"; var CheckIsAptify6Cookies = "Missing CSRF"; /* "<%= CheckIsAptify6Val %>"; */ var aspSession = "False"; /* "<%= CheckASPSessionVal %>"; */ //var aptifySession = "False"; if (CheckisStaffMemberCookie == "True") { //console.log('Staff member is logged in, skip process'); } else { //console.log('Check for missing cookies'); if (CheckisEb6AliveUserContext == "Full user context") { if ((CheckIsAptify6Cookies == "Missing CSRF")) {//|| (aspSession == "False") || (aptifySession == "False") || (CheckIsAptify5 == "Missing aptify5 cookie") logoutAllSystems(true).done(function (result) { console.log("Logout due to user missing cookie type successful 1"); }).fail(function () { console.log("Logout due to missing cookie unsuccessful 1"); }); } else { //console.log("All 3 Cookie types present"); } } else if (CheckisEb6AliveUserContext == "User is not logged in" && CheckIsEpiserverCookie == "Full episerver logon") { if (!(window.location.pathname + window.location.search).includes("/login?session=expired")) { logoutAllSystems(true).done(function (result) { console.log("Logout due to user missing cookie type successful 2"); }).fail(function () { console.log("Logout due to missing cookie unsuccessful 2"); }); } } else { //console.log("There are old cookies but user is not logged in currently"); } } //console.log("End of Page Load checker"); </script> <script type="text/javascript"> // used for situations where pages time out before a form is submitted var sessionStateMinutes = parseInt(70); var pageLoadDate = new Date(); var pageLoadTime = pageLoadDate.getTime(); </script> </body> </html>