Welcome Guest, Not a member yet? Register   Sign In
Sharing SESSION Between Multiple Subdomains
#1

I'm using session like bellow in my CI app on a domain (i.e. domain.com)-

PHP Code:
$set['x'] = $id;
$set['y'] = $name;
$set['z'] = $lavel;
$this->session->set_userdata($set); 

Now I want to use these session variables on a subdomain (i.e. sub.domain.com). How to do that..? Is there any option in CI to do that?

Thank you in advance.
"Who thinks in code"
Perfectly describes who I am
mbparvez.me
Reply


Messages In This Thread
Sharing SESSION Between Multiple Subdomains - by webdevron - 06-21-2015, 04:04 PM



Theme © iAndrew 2016 - Forum software by © MyBB