docServerUserLandCom picture
Contents
Frontier Site

mainResponder.members.setCookie

Syntax mainResponder.members.setCookie (mailaddress, password, adrmembers, pta)

Params mailaddress is the user's email address to be used as a key to the membership database in members.root.

password is the user's password.

adrmembers is an address pointing to a top-level table in members.root. Default: nil.

pta is the address of the parameter table. Default: nil.

Action Sets the membership cookie on the user's machine through the Set-Cookie header of the HTTP response.

Returns A string, the value assigned to the Set-Cookie header.

Examples mainResponder.members.setCookie ("andre@userland.com", "SECRET")

   » "nirvanaServer=andre@userland.com%09SECRET; expires=Friday, 31-Dec-99 23:59:59 GMT; path=/"

Notes Detailed information about mainResponder's membership group format is available from the Frontier Site.

See Also mainResponder.members.sendMail


© Copyright 1992-2026 UserLand Software. Email: webmaster@userland.com.