Jump to content

Logout URL attribute


Recommended Posts

Does anyone know of a way to add a target attribute to a store's logout URL?

 

I have several stores with masked domains and while the user is directed to the proper website on logout, the URL in the address bar doesn't change.

 

Thanks.

Link to comment
Share on other sites

I've found a workable solution to this.

 

I'm hosting the following HTML file on our web server and using the path as the LogOut URL. So far it seems to work pretty well and hasn't triggered any pop-up blockers.

 

<!doctype html>

<html lang="en">
<head>
   <title>PTI Redirect</title>
   <script type="text/javascript">window.open('http://your-url.com', '_top');</script>
</head>
<body>
   <!-- Insert your content here -->
</body>
</html>

Link to comment
Share on other sites

×
×
  • Create New...