Re: PHP Session not working
| From: | Nicole | Date: | Thu, 02 Oct 2003 05:42:24 +0000 |
| Subject: | Re: PHP Session not working | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-164692@lists.php.net to get a copy of this message | ||
Which method are you using to set and access your session variables?
--
Nicole
aeontrek.com
"Sheni R. Meledath" <sheni@cyber-gear.com> wrote in message
news:6.0.0.22.2.20031002090855.03901d30@cyber-gear.com...
> Hi:
>
> We are facing some problems in using sessions in our applications.
Recently
> we have moved our web site to a new Apache server (1.3). We have installed
> PHP on this server. But sessions are not working on this server. The
values
> in the session variables are not carried forward to the consequent pages.
> PHP Module entry in httpd.conf file: LoadModule php4_module
> modules/mod_php4-4.3.2.so
>
> The same scripts & web site are working fine on a similar Apache server
and
> same version of PHP.
>
> Could you please help me to figure out this problem. Are we missing
> anything in the installation or settings in the php.ini file.
>
> PHP.INI
> [Session]
> session.save_handler = files
> session.save_path = /tmp
> session.use_cookies = 1
> session.name = PHPSESSID
> session.auto_start = 0
> session.cookie_lifetime = 0
> session.cookie_path = /
> session.cookie_domain =
> session.serialize_handler = php
> session.gc_probability = 1
> session.gc_maxlifetime = 1440
> session.referer_check =
> session.entropy_length = 0
> session.entropy_file =
> session.cache_limiter = nocache
> session.cache_expire = 180
> session.use_trans_sid = 1
> url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
>
>
> Sheni R Meledath
> sheni@cyber-gear.com