<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[How to logout user via php? Tried this:]]></title><description><![CDATA[<p dir="auto">I tried:</p>
<pre><code>
// captiveportal-ogout.php

require_once("config.inc");
require_once("captiveportal.inc");

echo "TRYING..";
if ($_GET['logout_id']) {
	$sessionid = $_GET['logout_id'];
	echo " it's there..";
	captiveportal_disconnect_client($sessionid);
	echo " try and see if user is dc";
} else {
	echo 'nope didn't work';
}

</code></pre>
<p dir="auto">Then tried<br />
captiveportal-logout.php?logout_id={real id from looking at source code filled after being logged in}</p>
<p dir="auto">But no dice …..........</p>
<p dir="auto">Thoughts?</p>
]]></description><link>https://forum.netgate.com/topic/80966/how-to-logout-user-via-php-tried-this</link><generator>RSS for Node</generator><lastBuildDate>Thu, 18 Jun 2026 04:41:23 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/80966.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 10 Mar 2015 13:37:14 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to logout user via php? Tried this: on Tue, 10 Mar 2015 15:34:23 GMT]]></title><description><![CDATA[<p dir="auto"><a href="https://forum.pfsense.org/index.php?topic=77143.0" target="_blank" rel="noopener noreferrer nofollow ugc">https://forum.pfsense.org/index.php?topic=77143.0</a></p>
<p dir="auto">will probably need adjustments, but it'll get ya started</p>
]]></description><link>https://forum.netgate.com/post/526422</link><guid isPermaLink="true">https://forum.netgate.com/post/526422</guid><dc:creator><![CDATA[heper]]></dc:creator><pubDate>Tue, 10 Mar 2015 15:34:23 GMT</pubDate></item></channel></rss>