Jump to content

Recommended Posts

Posted
Hi,

I just started process wire only I can not delete my session does anyone know how I can do that.

Here is my code:



$session->bestelling = $_POST;

elseif(strcmp($status, 'success') === 0)
{
//Here must I delete $session->bestelling
echo '<h1>Transactie geslaagd.</h1><p>Uw betaling van bestelling #' . $order . ' met iDEAL is geslaagd.</p>';
}


Greetings, Bart van Lente

Posted

Hi Bart,

Welcome to ProcessWire!

Check out this reference page. It might have what you want? Maybe

$session->remove($name)

The docs say:

Remove/unset the session variable identified by the string $name

This is not my area, just wondering.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...