Search

@michael: if I understood the code correctly; exactly the same will happen.

The core has a custom session handling mechanism, which will write to the db rather than a file. If everything is implemented correctly there should be no difference between using the $_SESSION array and using the session class directly.

Thanks a lot!

I'm sure that when I built the Twitter Notifier, anything set with Cookie was not available in the $_SESSION array, and vice versa.

It may have changed now though.

EDIT: It definitely seems to have. Go with the Cookie class.

@creativedutchmen:

If everything is implemented correctly there should be no difference

@designermonkey:

anything set with Cookie was not available in the $_SESSION array, and vice versa

Does that maybe mean that the implementation does not work as intended?

Or could it be that you didn't use __SYM_COOKIE_PREFIX_, like so:

$_SESSION[__SYM_COOKIE_PREFIX_ . 'key']

The correct code should be $_SESSION['__SYM_COOKIE_PREFIX_']['key'].

Oh. Sure? This means that the Sessionmonster extension needs to be fixed.

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details