Welcome Guest, Not a member yet? Register   Sign In
how to share SESSION with WP
#1
Question 
(This post was last modified: 03-27-2018, 02:59 AM by ardavan.)

Hi, everybody,

I'm working on a microsite in CI and this microsite will generate some session data.
on the same Host & domain, we have another website with is WordPress.

I would like to make use of CI session generate in Wordpress website. Confused

example:
set on CI
PHP Code:
// http://www.website.com/cp/
$this->session->set_userdata('some_name''some_value'); 

call it on WP header.php
PHP Code:
// http://www.website.com/ 
$_SESSION['some_name']; //some_value 

Is it possible to do so?  Huh
Please show me the correct approach.  Smile

Thanks in advance
Reply


Messages In This Thread
how to share SESSION with WP - by ardavan - 03-26-2018, 02:19 AM



Theme © iAndrew 2016 - Forum software by © MyBB