133: l_domain := owa_util.validate_arg(domain);
134: l_secure := owa_util.validate_arg(secure);
135: l_httponly := owa_util.validate_arg(httponly);
136:
137: if (OWA_CUSTOM.DBMS_SERVER_GMTDIFF is not NULL)
138: then
139: expires_gmt := expires-(OWA_CUSTOM.DBMS_SERVER_GMTDIFF/24);
140: else
141: expires_gmt := new_time(expires,OWA_CUSTOM.DBMS_SERVER_TIMEZONE,'GMT');
135: l_httponly := owa_util.validate_arg(httponly);
136:
137: if (OWA_CUSTOM.DBMS_SERVER_GMTDIFF is not NULL)
138: then
139: expires_gmt := expires-(OWA_CUSTOM.DBMS_SERVER_GMTDIFF/24);
140: else
141: expires_gmt := new_time(expires,OWA_CUSTOM.DBMS_SERVER_TIMEZONE,'GMT');
142: end if;
143:
137: if (OWA_CUSTOM.DBMS_SERVER_GMTDIFF is not NULL)
138: then
139: expires_gmt := expires-(OWA_CUSTOM.DBMS_SERVER_GMTDIFF/24);
140: else
141: expires_gmt := new_time(expires,OWA_CUSTOM.DBMS_SERVER_TIMEZONE,'GMT');
142: end if;
143:
144: -- When setting the cookie expiration header
145: -- we need to set the nls date language to AMERICAN