Developer forum

Forum » Swift » Logout error when watching user pages

Logout error when watching user pages

Tomas Gomez
Reply

Hi,

When a user is watching the user pages (e.g. the user dashboard) and selects the "Logout" menu, then an error appears (see attached image). 

The error is triggered because after logout the user is not allowed the see the user pages, that is the current page. For the user pages, we use the Integration Customer Center on a Swift 1.6.1 with DW 9.13.4.

This issue could be solved setting a "logout page" There is a preference in the Extranet App to set the page after a login, but I don't find a similar preference to set a logout page.

What are the possibilities to solve this issue?

Regards,
Tomas

logout_error.PNG

Replies

 
Tomas Gomez
Reply

Any suggestion about this issue?

 
Andrew Rushworth
Reply

Hi,

This is still an issue: DW9.17.7 using Rapido

When logging out from any of the "user access only" pages results in a horrible error. 
Not sure why it is appending the -1 to the url.

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

Hi Andrew

The error comes from the "app.cshtml" template that seems to have something in it that is null in this case.

The /-1 page looks very odd and could be the culprit. Looks like you are being redirected to an inactive website. The logout button might have some sort of mis configuration.
I cannot access the site, so cannot look into it.

I think you see the yellow screen with the error because of this setting:

 

You must be logged in to post in the forum