This procedure sends a cookie with the username.
Syntax
APEX_AUTHENTICATION.SEND_LOGIN_USERNAME_COOKIE ( 
    p_username IN VARCHAR2, 
    p_cookie_name IN VARCHAR2 DEFAULT c_default_username_cookie ); 
Parameters
Table 3-7 APEX_AUTHENTICATION.SEND_LOGIN_USERNAME_COOKIE Procedure Parameters
| Parameters | Description | 
|---|---|
| 
 
  | 
 The user's name.  | 
| 
 
  | 
 The cookie name which stores   | 
Example
This example shows how to call SEND_LOGIN_USERNAME_COOKIE, to save the value of item P101_USERNAME in the login cookie.
apex_authentication.send_login_username_cookie (
    p_username => :P101_USERNAME );