#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2000
    Posts
    3
    Rep Power
    0
    Calls to session_start and some other functions result into a very long wait followed by an error message "page cannot be displayed". For example the following code does it:
    <BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">code:</font><HR><pre><?php
    session_register("count");
    $count++;
    echo $count;
    ?>[/code]
    In php.ini I have the line session.save_path = /tmp and I have created the directory c:tmp. I also created a virtual directory /tmp under the www root directory. In the c:tmp directory I can find session id files with the size of 0 bytes.
    I can't figure out what is wrong.
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2000
    Posts
    3
    Rep Power
    0
    The same seems to work well under Linux+Apache...
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2000
    Posts
    33
    Rep Power
    15
    I actually had this problem with our IIS server. Check the permissions on your temporary directory and make sure that the world can write to them. I believe this was our problem, if it doesn't seem to be yours, let me know and I'll see if I can find something else that might have caused our problem.

    -Justin
  6. #4
  7. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2000
    Posts
    3
    Rep Power
    0
    It doesn't seem to be the problem...

Similar Threads

  1. URL session handling problem
    By rec3000 in forum PHP Development
    Replies: 6
    Last Post: February 24th, 2009, 08:33 AM
  2. Problems with session
    By Petras in forum Java Help
    Replies: 2
    Last Post: February 12th, 2004, 01:37 AM
  3. Apache 2.0 and PHP4 Upgrade Problems
    By xml in forum PHP Development
    Replies: 4
    Last Post: February 10th, 2004, 11:52 AM
  4. Undefined variable and session problems (Was: need help! badly!)
    By pinkipodmini in forum PHP Development
    Replies: 13
    Last Post: January 18th, 2004, 03:21 PM
  5. session problems
    By iso in forum PHP Development
    Replies: 6
    Last Post: October 30th, 2003, 07:04 PM

IMN logo majestic logo threadwatch logo seochat tools logo