Just to let you all know, I have tested the Simple Session Support plugin in WP 5.8.1 and it seems to be working.
]]>I have activated this plugin but how to use this ???
https://www.ads-software.com/plugins/simple-session-support/
]]>Enabled the plugin but cannot get session values to display. Does anyone have this working on 4.1.1? Im wondering if I am missing something or if its a version problem.
https://www.ads-software.com/plugins/simple-session-support/
]]>i need access the seasson values outside the wp. Is this possible?
https://www.ads-software.com/plugins/simple-session-support/
]]>I have installed this plugin and am not getting a result yet, here’s what I am trying to do and how I am trying to achieve it – I have 3 pages: public, media, profession. Each page states an appropriate $_SESSION as being either
$_SESSION[‘siteStream’] = ‘public’;
$_SESSION[‘siteStream’] = ‘profession’;
$_SESSION[‘siteStream’] = ‘media’;
On a fourth page I have the following:
<?php
session_start();
//define variable for detecting which stream user is in
if(isset($_SESSION[‘siteStream’]) ) {
$siteStream = $_SESSION[‘siteStream’];
}?>
And in the page to test that things are working
<?php echo $siteStream; ?>
For some reason echo is always giving me ‘profession’ as the output. Can anybody advise as to what I could be doing wrong?
https://www.ads-software.com/plugins/simple-session-support/
]]>Ugh, I know that I am missing something very “simple” here. I’ve activated the plugin but still cannot access the session variables that I am setting. How does the init action work? Do I need to use this as an include file?
Thank you in advance!
https://www.ads-software.com/plugins/simple-session-support/
]]>Just a note while you’re developing – a second embeddable version that checks for the plugin, then registers functions if it does not exist – would be awesome.
I tend to embed this inside of functionality plugins in order to cut down on processing time (no need to check a user agent every single page load during a session, for example).
I’d love not to have to modify the plugin with !function_exists every time you release a new version of the code ??
https://www.ads-software.com/plugins/simple-session-support/
]]>Hi friends,
What should I do to work with array() for session $value?
My session should be: $_SESSION[‘hashed_urls’][$_url]=$value;
How to set it using Simple Session Support plugin?
Thanks!
Cristiano
https://www.ads-software.com/plugins/simple-session-support/
]]>So I started my header.php with:
$lang = $_GET['lang'];
if ($lang == 'FR' || $lang == 'EN') {
simpleSessionSet('lang', $lang);
}
and below, I added:
<ul>
<li><a href="<?php echo home_url(); ?>?lang=FR">FR</a></li>
<li><a href="<?php echo home_url(); ?>?lang=EN">EN</a></li>
</ul>
$siteLang = simpleSessionGet('lang', 'FR');
echo 'Session lang = '. $siteLang;
Now irrespective of whatever link I click, my $siteLang is getting echoed as FR.
Any idea ?
https://www.ads-software.com/extend/plugins/simple-session-support/
]]>I am trying to enable PHP session data and was hoping this plugin would help. However, when I activate the plugin, I immediately get several error messages at the top of my site (see below). I am not an expert and have no idea what is going wrong.
Please help!
>>
Warning: session_start() [function.session-start]: open(/var/chroot/home/content/11/6401911/tmp/sess_jsvkl2kgu4elbukqrigjmsvng2, O_RDWR) failed: No such file or directory (2) in /home/content/11/6401911/html/wp-content/plugins/simple-session-support/simple-session-support.php on line 40
Warning: session_start() [function.session-start]: Cannot send session cookie – headers already sent by (output started at /home/content/11/6401911/html/wp-content/plugins/simple-session-support/simple-session-support.php:40) in /home/content/11/6401911/html/wp-content/plugins/simple-session-support/simple-session-support.php on line 40
Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /home/content/11/6401911/html/wp-content/plugins/simple-session-support/simple-session-support.php:40) in /home/content/11/6401911/html/wp-content/plugins/simple-session-support/simple-session-support.php on line 40
<<
https://www.ads-software.com/extend/plugins/simple-session-support/
]]>Hi,
I use Simple Session Support on my wordpress site. It works on any other browser except Firefox. Firefox cannot get the session. Can you help?
Thanks,
Eric
https://www.ads-software.com/extend/plugins/simple-session-support/
]]>