Search

Hey Guys,

I’m trying to auto-authenticate the TinyMCE Image Manager by specifying the $_SESSION for a logged in Symphony user, only I have absolutely no idea what the $_SESSION is called. I’ve tried var_dump and print_r on the $_SESSION and $_REQUEST arrays but all I get back is PHPSESSID which I’m not sure its safe to use.

Anyone got any advice?

I had the same problem for my Uploadify extension. In the end I decided on passing the PHPSESSID around.

For the purposes of my extension I write out the session ID using session_id() into a JavaScript variable (here). It is then passed in the request made by the Flash upload script, which seems to work.

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