Skip to main content
Participating Frequently
February 5, 2025
Question

It seems that cookie creation is blocked in 2025 Premier CEP12.

  • February 5, 2025
  • 1 reply
  • 331 views
Hello, I am a Premier CEP panel developer. 

I successfully used the session login method using an iframe in 2024 CEP11. 
Blocked in 2025 cep12.

iframe set-cookie test between 2024 Premier CEP 11 and 2025 Premier CEP 12
 
TEST: 
Server-generated cookie code:

 

 

<?php
setcookie('test_cookie', '1', 0, '/');
?>

 

 

Client Code: (index.html in panel)

 

 

<!doctype html>
<html>
<title>Basic Panel</title>
<head>	
</head>
<body> 
  <iframe src="http:/localhost:8000"/> 
</body>
</html>

 

 


2024 debug mode Check Cookies values:

 

2025 Debug Mode Cookies value: 

Couldn't make it.

 

I am curious as to whether this setting is not applicable after upgrading from Chromium 88 to 99.

 

 

<CEFCommandLine>
						<Parameter>--disable-features=SameSiteByDefaultCookies,CookiesWithoutSameSiteMustBeSecure,NetworkService</Parameter>
						<Parameter>--disable-site-isolation-trials</Parameter>
						<Parameter>--enable-media-stream</Parameter>
						<Parameter>--enable-nodejs</Parameter>
						<Parameter>--allow-file-access</Parameter>
						<Parameter>--allow-file-access-from-files</Parameter>
						<Parameter>--disable-application-cache</Parameter>
					</CEFCommandLine>

 

 

manifest.xml  setting in panel

Is there a solution or is there anything else to check?
 

 

1 reply

Bruce Bullis
Legend
February 5, 2025

Your suspicion seems correct, that this isn't possible in Chromium 99 (part of CEP12).

Relevant cookie info:

https://github.com/Adobe-CEP/CEP-Resources/blob/master/CEP_12.x/Documentation/CEP%2012%20HTML%20Extension%20Cookbook.md#http-cookie