Roundcube Community Forum

 

Call $_Session['user_id'] from other page

Started by sayma, September 03, 2007, 02:38:13 AM

Previous topic - Next topic

sayma

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

bpat1434

Just call session_start() at the top of the page and then use $_SESSION['user_id'] where you want to be.