coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: tonyz on May 11, 2006, 04:20:14 PM

Title: cpg doesn't append sid
Post by: tonyz on May 11, 2006, 04:20:14 PM
I have installed coppermine 1.4.5 at this address http://tonyz.altervista.org/Gallery/
i have an issue with the id of the session not being appended to the url when javascript is disabled in the browser. My host has enable-trans-id compiled  in php.ini to off, so why coppemine doesn't append it? every time a user with javascript disabled loading a page, load a new session, making a huge number in the database.

Thanks
Tonyz
Title: Re: cpg doesn't append sid
Post by: Joachim Müller on May 11, 2006, 06:56:37 PM
coppermine doesn't pass the sid in the url anyway, I'm not sure what you're refering to.
Title: Re: cpg doesn't append sid
Post by: tonyz on May 11, 2006, 09:11:14 PM
Hi GauGau thank you for your support.

I try to explain better: if in the browser doesn't accept cookies usually php scripts append the id of the current session to every link in the page. Today I tried to disable cookies in firefox and I noticed that coppermine desn't propagate the sessionid attached to the links ?sessionid=randcode.
So everytime I open a page the session_start open a new session and can't read the data in the previous one.
I wonder if this is coppermine who doesn't append the session id to the links if cookies are disabled or is it a problem with my installation?

Thank you very much and compliments for this script
Title: Re: cpg doesn't append sid
Post by: Nibbler on May 11, 2006, 09:12:58 PM
Coppermine doesn't work like that, it requires cookies.
Title: Re: cpg doesn't append sid
Post by: tonyz on May 11, 2006, 09:14:04 PM
Ah ok Nibbler now I have no more doubts.
Thanks