www.webdeveloper.com
Results 1 to 5 of 5

Thread: problem with mulriple sessions

  1. #1
    Join Date
    Dec 2003
    Location
    Netherlands
    Posts
    642

    problem with mulriple sessions

    Hallo,

    first my remote server is not from the best quality. (but its cheap)

    I have problems if i use session's on more then one page.

    These are strange things in the (remote) config:
    session.use_trans_sid = off
    session.cookie_lifetime = 3600

    on the working "session" page i use a hand made cookie value for the PHPSESSID to expire after the browser is clodes.

    It's not possible to use sessions on other pages.
    Anyone an idea?

  2. #2
    Join Date
    Dec 2002
    Location
    High on life
    Posts
    10,104
    Hmm... I don't really understand what you need. Could you try to explain better, perhaps?

  3. #3
    Join Date
    Dec 2003
    Location
    Netherlands
    Posts
    642
    Hallo,

    I want to use this both session-vars on one page:
    PHP Code:
    $_SESSION['count'] = $x;
    $_SESSION['viewed'][$x] = $sel_number
    and this seesion_var on another page:
    PHP Code:
    $_SESSION['check_vote'] = "yes"
    both don't work together and this only on my remote server and only in mozilla...

  4. #4
    Join Date
    Dec 2002
    Location
    High on life
    Posts
    10,104
    You'll have to show us the code in question, and perhaps provide a link to the pages you are testing this on...

  5. #5
    Join Date
    Dec 2003
    Location
    Netherlands
    Posts
    642
    The code is Ok it works on other server's (also my local server)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles