Roundcube Community Forum

Release Support => Release Discussion => Topic started by: sayma on September 03, 2007, 02:38:13 AM

Title: Call $_Session['user_id'] from other page
Post by: sayma on September 03, 2007, 02:38:13 AM
Hi dev team,

I just install roundcube in may server. It is running perfectly. Now I have a query that is in my web server i'm offering various service including email. So for email i'm using roundcube. My question is when I'm loggin in email a session is registering. Now i want to use that session into other page too. Like I want to call that $_Session['user_id']; how can i do that?

thanks in advance
Title: Re: Call $_Session['user_id'] from other page
Post by: bpat1434 on September 03, 2007, 01:51:36 PM
Just call session_start() at the top of the page and then use $_SESSION['user_id'] where you want to be.