"Remember me" feature in My webMethods 7.x

How do I enable the “remember me” checkbox in the login page?

I’ve found out that in the widget.jsp in the wm_login.pdg, there’s a code piece like

if (portlet.isRememberMe()) {

so it obviously has this feature. I just dont know how to let portlet.isRememberMe() to return true.