phpgroupware-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Phpgroupware-users] Session handling problem


From: Chris Weiss
Subject: Re: [Phpgroupware-users] Session handling problem
Date: Thu, 25 Mar 2004 15:12:12 +0000

do you have the option to use cookies for session ids and/or check IP's
enabled?  Unless you're on a LAN and never use IE you might think about
disabling both.

Brett Shadbolt (address@hidden) wrote:
>
>
> Hi,
>
> I am still trying to find a solution to a problem which emerged with the chat 
> app.
>
> I found out our hosting service runs PHP as CGI and that I have to copy 
> php.ini to my
> webroot and then change the session.save_path setting in the saved file for 
> it to
> recognise a tmp deirectory other than /tmp.
>
> Apparently if PHP is run as CGI rather than as a module, inserting a php call 
> in
> .htaccess causes a code 500 server error, so it is necessary to do the above.
>
> This background is just for anyone else who might run into the same problem.
>
> I have set up /home/<user>/tmp and have changed the session.save_path to
> /home/<user>/tmp in php.ini and have also changed the path using the phpgw 
> setup program
> to the same. I have verified that php is using my new php.ini file by viewing 
> a simple
> php script consisting of phpinfo() - it shows that the php.ini file it is 
> using is the
> one I created and also shows the tmp path being the new path. Session data is 
> now being
> created in /home/<user>/tmp - I have verified this by logging into phpgw and 
> then
> checking the directory for existence of session data.
>
> However, once logged in I cannot access anything other than the main page - 
> as soon as I
> click on any app I get logged out and returned to the login screen where the 
> message
> "your session could not be verified" comes up in red.
>
> Any suggestions? Are there any other references in phpgw to the tmp path 
> which I might
> need to change?
>
> Cheers,
>
> Brett
>
>
>
> _______________________________________________
> Phpgroupware-users mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/phpgroupware-users
>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]