session problem

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
itsmani1
Forum Regular
Posts: 791
Joined: Mon Sep 29, 2003 2:26 am
Location: Islamabad Pakistan
Contact:

session problem

Post by itsmani1 »

Hi

I have sub domains on my site and i wanted to use one session across subdomains but i can't.. I am using following code but it's not working

Can anyone tell what's the reason??

Here is my code:

Code: Select all

session_set_cookie_params(3600,'/','.domain.com');
Post Reply