I have both plugins installed. When I login with register plugin and visit the page were I have the output of the tell plugin I always loggs out from register. I'm still logged in with administrationmode and can still do my changes, but it is a bit enoying when I got logged out every time I go to the tell page.
Anyone who knows about this bug and what to do?
Register and Tell plugins
Moderator: Tata
Re: Register and Tell plugins
Hi preppen
It is because tell have session_destroy(); in the function gotell
If you remove it, you vil not get logt out from register.
I have testet it without session_start(); and session_destroy(); and it still works, you can try it
/ZiPs
It is because tell have session_destroy(); in the function gotell
Code: Select all
function gotell() {
GLOBAL $pth, $plugin_tx,$plugin_cf;
$sitename = $plugin_cf['tell']['the_site_name'];
$siteaddress = $plugin_cf['tell']['the_site_address'];
$yname = $_POST['yname'];
$yemail = $_POST['yemail'];
$femail = $_POST['femail'];
$comments = $_POST['comments'];
$pageurl = $_POST['loc'];
session_start();
$digit = $_SESSION['digit'];
$userdigit= $_POST['userdigit'];
session_destroy();
I have testet it without session_start(); and session_destroy(); and it still works, you can try it
/ZiPs
Preben Dahl | Webmaster cmsimple.dk | Projekt-og domæne ejer Gert Ebersbach
Re: Register and Tell plugins
works perfekt... thanx for the tip