Set secure attributes for session cookie
							parent
							
								
									43ea9eefda
								
							
						
					
					
						commit
						c78e7e2007
					
				|  | @ -1,6 +1,15 @@ | |||
| <?php | ||||
| date_default_timezone_set("Europe/Berlin"); | ||||
| error_reporting(E_ALL); | ||||
| 
 | ||||
| session_set_cookie_params([ | ||||
| 	'lifetime' => 86400, | ||||
| 	'path' => '/', | ||||
| 	'domain' => $RUNTIME['DOMAIN'], | ||||
| 	'httponly' => true, | ||||
| 	'secure' => true, | ||||
| 	'samesite' => 'Lax' | ||||
| ]); | ||||
| session_start(); | ||||
| 
 | ||||
| include_once 'classen/MAIL/PHPMailer.php'; | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Anonymous Contributor
						Anonymous Contributor