Results 1 to 8 of 8
  1. #1

    Default PHP Sessions suddenly stops working.


    Hi guys, its me here again. Here's a pretty tricky situation right now.

    I manage a local production server and a sandbox production server. Right now, my sandbox production server is going nuts with the SESSION handling. Someone installed some app here that cleared C:/Windows/Temp although thats kind of normal before the problem existed. My session variables keep on getting wiped whenever I move from one page to another. As what I've read somewhere, it has something to do with the temp folder getting wiped regularly but this rarely happened before someone installed that app.

    I have moved session.save_path in my php.ini to a more safer location but still, there's nothing that shows up in that path and session variables are not saved. I am also not getting some php error log files in any of the paths.

    Can someone figure out why is this happening? Is there some line in the php.ini that's causing this?

    Thanks!

    PS: Using php 5.2.13 here.

  2. #2
    diba kung sandbox the data is not stored permanently?, or maybe im just wrong on my understanding...

  3. #3
    What web server are you using IIS or apache?

    Have you tried ini_set(‘session.save_path’,’<dir>’);?

  4. #4
    Quote Originally Posted by salbahis View Post
    diba kung sandbox the data is not stored permanently?, or maybe im just wrong on my understanding...
    Yep you got it wrong. What I meant is that I use the sandbox server to iron out bugs or do development before sending them to actual production.

    Quote Originally Posted by nullpointer View Post
    What web server are you using IIS or apache?

    Have you tried ini_set(‘session.save_path’,’<dir>’);?
    Using IIS here. I believe this is also the culprit.

    I have tried changing the php.ini file too. I've set the session.save_path to a different directory pero nothing is being saved on that path. Thus resulting my session variables not being saved.

  5. #5
    pwede makita unsay output sa phpinfo()?

    PHP Code:
    <?php phpinfo(); ?>

  6. #6
    Quote Originally Posted by personalmgt View Post
    Yep you got it wrong. What I meant is that I use the sandbox server to iron out bugs or do development before sending them to actual production.
    i see.... dev server diay... lahi man gud ako pasabot sa sandbox...

    are you using xampp or the stand alone apache server?

  7. #7
    Quote Originally Posted by darkhero View Post
    pwede makita unsay output sa phpinfo()?

    PHP Code:
    <?php phpinfo(); ?>
    Hi,

    You can find my phpinfo(); here http://pastebin.com/21wBdEEV

    It's really weird that the server vars say that my temp path is still located in C:/Windows/Temp. Does this have something to do with it? I already changed my php.ini and I'm sure that I specified the right paths. I've done like 5 restarts already but no fat chances here.

    @salbahis - no, I'm not using apache. My setup is IIS7 - PHP 5.2.13 - ODBC/MSSQL 2008.

  8. #8
    >Solved. Figured out that the permissions in the folder wasn't set to full even to the folder creator (me)

  9.    Advertisement

Similar Threads

 
  1. For Sale: Wholesale Victoria Secret @ Php 370; Bath & Body Works @ Php 380.00
    By glamconnection in forum Health & Beauty
    Replies: 25
    Last Post: 07-29-2010, 03:30 PM
  2. iw3sp.exe has stopped working
    By yowenn in forum Software & Games (Old)
    Replies: 2
    Last Post: 02-07-2010, 04:18 PM
  3. Laptop DVD Drive stops working in the middle of file transfer
    By carmicael in forum Computer Hardware
    Replies: 0
    Last Post: 10-27-2009, 10:08 PM
  4. HELP:Laptop suddenly stops. (Toshiba satellite a205-s4577)
    By kratos83 in forum Computer Hardware
    Replies: 7
    Last Post: 10-04-2009, 12:28 AM
  5. windows host process (Rundll32) has stopped working
    By waterboy0911 in forum Software & Games (Old)
    Replies: 2
    Last Post: 10-24-2007, 11:34 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top