Every time the function dn(...) on the html to upload dynamic content, one must add a parameter do the url. This parameter allows you to correct the following situation:
When a user logs in or out, if the last request was made by a dn, he/she will be redirected to the dynamic page, With the parameter, the user will be redirected to the login/logout page, configured for the website.
For example:
<td onclick="loadToINS('/?it=teste&co=20&cop=50&bypass=1')">List by DN</td>
This way, every time a dynamic content is uploaded by dn, one must add to the link: &bypass=1.