Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: sesion problem

  1. #1
    Regular Coder
    Join Date
    May 2006
    Posts
    107
    Thanks
    1
    Thanked 0 Times in 0 Posts

    sesion problem

    Hi

    I have 1 domains with 3 sub domains I want to share login on all 3 sub domain and main domain I am using following code and It should work.

    PHP Code:
    session_set_cookie_params(3600'/''.mydomain.com');
    session_start(); 
    Any Idea?

    I want to know "has it something to do with server configuration?" or its because of something else?

    Thanks.
    Last edited by dizyn; 03-28-2009 at 10:38 AM.

  • #2
    Regular Coder
    Join Date
    May 2006
    Posts
    107
    Thanks
    1
    Thanked 0 Times in 0 Posts
    I have one configure.php in every sub domain and the main domain which has above two lines.

    Should I use one files between all sub domains or this is ok?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •