Update...
The version fix worked but the following – set at the head of an ajax or similar page – seems a much tidier approach; a fix.
// where are we coming from???
$secure = (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off');
if ($secure && isset($_COOKIE['__Secure-BLUDIT-KEY ...
Search found 187 matches
- Tue Sep 01, 2026 11:04 pm
- Forum: General
- Topic: bl-kernel session bug/fix
- Replies: 3
- Views: 805
- Sat Aug 29, 2026 10:20 pm
- Forum: Announcements
- Topic: Disappointed...
- Replies: 5
- Views: 19740
Re: Disappointed...
Writing and maintaining code sets is a complex business. Keeping it lean and clean is not easy. Have a look through here...same things with new look in admin panel.
Bludit version details
and have a poke about in bl-kernel – pretty neat and tidy.
- Fri Aug 28, 2026 2:01 am
- Forum: General
- Topic: bl-kernel session bug/fix
- Replies: 3
- Views: 805
Re: bl-kernel session bug/fix
Thank you Edi.
I have a version-fix in place and that works but it feels more like a patch than a fix. I will find a better solution (in time).
And good to have the 'releases' link. I looked all over gitHub but couldn't find a link-path to that.
go well – kusalo
I have a version-fix in place and that works but it feels more like a patch than a fix. I will find a better solution (in time).
And good to have the 'releases' link. I looked all over gitHub but couldn't find a link-path to that.
go well – kusalo
- Thu Aug 27, 2026 3:22 am
- Forum: General
- Topic: bl-kernel session bug/fix
- Replies: 3
- Views: 805
bl-kernel session bug/fix
I read in bl-kernel/helpers/session.class.php [Bludit ver 3.22]
private static $sessionName = 'BLUDIT-KEY';
Yes.
Then a bit further down...
public static function start($path, $secure) { ....
// Sets the session name to the one set above.
// [b]Use the __Secure- prefix[/b] when served over HTTPS ...
private static $sessionName = 'BLUDIT-KEY';
Yes.
Then a bit further down...
public static function start($path, $secure) { ....
// Sets the session name to the one set above.
// [b]Use the __Secure- prefix[/b] when served over HTTPS ...
Re: Security
@Surreal9951
>> You need to add rules to the .htaccess file.
I wonder if you would mind sharing what you have done? Both the htaccess mods and which locations.
thx
>> You need to add rules to the .htaccess file.
I wonder if you would mind sharing what you have done? Both the htaccess mods and which locations.
thx
- Tue Aug 25, 2026 4:03 am
- Forum: General
- Topic: basic Bludit security Q.s
- Replies: 0
- Views: 306
basic Bludit security Q.s
I am trying to get my head around Bludit security. There seem to be two primary elements.
1 - session_name('BLUDIT-KEY');
2 - $_SESSION['adminToken'] = $tokenCSRF;
The first question is around versions.
In plugin.php (I tried a few plugins) setting: public function adminSidebar()
{ $html = session ...
1 - session_name('BLUDIT-KEY');
2 - $_SESSION['adminToken'] = $tokenCSRF;
The first question is around versions.
In plugin.php (I tried a few plugins) setting: public function adminSidebar()
{ $html = session ...
- Mon Aug 24, 2026 11:02 pm
- Forum: Plugins
- Topic: ajax – not sorted :( – HELP
- Replies: 4
- Views: 661
Re: ajax – not sorted :( – HELP
@ lastpictures
Thanks for the response. I imagine we all make assumptions about each other. I assumed that your detailed, technical first-reply had you resting in the very-clever-techie Bludit echelon. but...
>> people who don't have much technical or programming knowledge
kind of suggesting that ...
Thanks for the response. I imagine we all make assumptions about each other. I assumed that your detailed, technical first-reply had you resting in the very-clever-techie Bludit echelon. but...
>> people who don't have much technical or programming knowledge
kind of suggesting that ...
- Sat Aug 22, 2026 10:14 pm
- Forum: Plugins
- Topic: ajax – not sorted :( – HELP
- Replies: 4
- Views: 661
Re: ajax – not sorted :( – HELP
@lastpictures
Wow, what an incredibly generous reply. Thank you. I have downloaded the zip and will go through that thoroughly.
>> The plugin folder is named ImageManager
Yes, spotted that. New zip up.
>> Many URLs are hardcoded
Yes. You make several references to Bludit constants and I have been ...
Wow, what an incredibly generous reply. Thank you. I have downloaded the zip and will go through that thoroughly.
>> The plugin folder is named ImageManager
Yes, spotted that. New zip up.
>> Many URLs are hardcoded
Yes. You make several references to Bludit constants and I have been ...
- Fri Aug 21, 2026 9:03 pm
- Forum: Plugins
- Topic: NEW Image Manager
- Replies: 4
- Views: 1648
Re: NEW Image Manager
I have been kicking this sucker around for quite some hours – back and forth, dump() logs ... blah blah and it comes down to token testing.
session_name('BLUDIT-KEY'); // THIS is (no pun) the key element.
session_start();
$sessionToken = $_SESSION['s_tokenCSRF'] ?? null;
$getToken = $_GET ...
session_name('BLUDIT-KEY'); // THIS is (no pun) the key element.
session_start();
$sessionToken = $_SESSION['s_tokenCSRF'] ?? null;
$getToken = $_GET ...
- Fri Aug 21, 2026 8:59 pm
- Forum: Plugins
- Topic: ajax – not sorted :( – HELP
- Replies: 4
- Views: 661
ajax – not sorted :( – HELP
This is an adjunct to issues regarding my NEW Image Manager plugin and I hope one/some of you might be able to help.
The key issue now is regarding ajax. I thought I had it sorted ... see:
https://forum.bludit.org/viewtopic.php?t=3077
but, when I have a sub-directory install – ....example.net ...
The key issue now is regarding ajax. I thought I had it sorted ... see:
https://forum.bludit.org/viewtopic.php?t=3077
but, when I have a sub-directory install – ....example.net ...

