forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: adiboy on May 23, 2006, 11:53:22 am

Title: Loggin cookies or Session
Post by: adiboy on May 23, 2006, 11:53:22 am
hello every one i just need a bit of help.

when i hade version cpg1.3.x i wrote this script that checks if the password cookie set.

if it isen't people could only view about 10 files
and
if it is set which means they are loged in they could play as many games as they like

the problem i am having now is i dont know if the password is set as a cookie or a session. and wht's the name of it.
Title: Re: Loggin cookies or Session
Post by: Nibbler on May 23, 2006, 12:35:45 pm
It's a session cookie now. The name is dynamically generated based on the client, look at coppermine.inc.php for details.