Fórumok

Logout and login url

Jesse Paria, módosítva 12 év-val korábban

Logout and login url

Junior Member Bejegyzések: 69 Csatlakozás dátuma: 2011.03.04. Legújabb bejegyzések
I am trying to create a link that will log the user out and redirect to the login page, which will redirect to the page the user was at before clicking on the link

Here is what I have

/c/portal/logout?referer=/c/portal/login?p_l_id=82022?redirect=/originalURL

This is how I have it written in my jsp file:
<%=logOutURL%>?referer=<%=comSignInUrl%>?redirect=<%=currentUrl%>

This doesn't seem to work as it brings me to the login page but after that it redirects to the parent page of the community

Any suggestions? Someone has to have succeeded in doing this.

Thanks