Interchange Developer Resource
[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date ][Interchange by thread ]

[ic] userdb logout using a text link



> With IC 4.8, I need to affect a userdb logout using a text link instead of
> a form.  Here is the form I would like to emulate:
>
> <form action="[process]" method="post">
> [set Log Out]
> mv_todo=return
> mv_nextpage=index
> [userdb function=logout clear=1]
> [/set]
> <input type="hidden" name="mv_cookie_password" value="0">
> <input type="submit" name="mv_click" value="Log Out">
> </form>
>

create a new page (maybe called logout.html) with:

[userdb function=logout clear=1]
[set-cookie name=MV_PASSWORD value=""]
[bounce href=index]

and then link to that page.

Jonathan
Webmaint.




Search for: Sort by: