ad_maybe_redirect_for_registration (public, deprecated)

 ad_maybe_redirect_for_registration

Defined in packages/acs-tcl/tcl/deprecated-procs.tcl

Deprecated. Invoking this procedure generates a warning.

Checks to see if a user is logged in. If not, redirects to [subsite]/register/index to require the user to register. When registration is complete, the user will return to the current location. All variables in ns_getform (both posts and gets) will be maintained. Note that this will return out of its caller so that the caller need not explicitly call "return". Returns the user id if login was successful.

See Also:

Partial Call Graph (max 5 caller/called nodes):
ad_log_deprecated ad_log_deprecated (public) auth::require_login auth::require_login (public) ad_maybe_redirect_for_registration ad_maybe_redirect_for_registration ad_maybe_redirect_for_registration->ad_log_deprecated ad_maybe_redirect_for_registration->auth::require_login

Testcases:
No testcase defined.
Source code:
ad_log_deprecated proc ad_maybe_redirect_for_registration
    auth::require_login
XQL Not present:
PostgreSQL, Oracle
Generic XQL file:
packages/acs-tcl/tcl/deprecated-procs.xql

[ hide source ] | [ make this the default ]
Show another procedure: