Do you have a question? Post it now! No Registration Necessary. Now with pictures!
May 7, 2005, 10:27 pm
rate this thread
I am using Ubuntu hoary, kernel 2.6.10-5-386, apache 2, php 4 with th
session.save_handler = files
session.save_path = /tmp
session.use_cookies = 1
session.name = PHPSESSID
session.auto_start = 1
session.cookie_path = /tmp
session.serialize_handler = php
session.gc_divisor = 100
session.gc_maxlifetime = 1440
session.bug_compat_42 = 1
session.bug_compat_warn = 1
session.entropy_length = 0
session.cache_limiter = nocache
session.cache_expire = 180
session.use_trans_sid = 0
register_globals = On
Apache is running on port 2139.
register_globals is on just because session was not working, but when I
changed, when i access my server from it self (localhost) the session
When I try to access the server from the web, session does not work
Please, somebody help me.
Re: PHP Session
> register_globals is on just because session was not working, but when I
Are you attempting to access the session variables by utilizing
$_SESSION['varname']? Because if you are not then that is where your
problem is. If the sessions are working with register globals that
means the session variable should be filled when you turn it off.
Remember when register variables is off accessing variables from GET,
POST, COOKIE or SESSION must be in the form of:
The best way to debug it is doing a vardump on the variables.
- » Refresh problem - last command gets re-executed - how to prevent?
- — Previous thread in » PHP Scripting Forum