How check two different cookies How check two different cookies
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

How check two different cookies

Started by gpitta, February 04, 2005, 04:47:23 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

gpitta

Hello guys,
it's possible in 'ratepic.php' file to check if it they exist other cookies that was created by the web site? For example:

Coppermine creates a first cookie named xxxxxxxx[1].txt with "cpg132_data" inside
My web site creates (in the index page) a second cookie named frame[1].txt with "some text" inside

i want that users can votes only if the two cookies they exists. It's possible to do? and how?

I think that i must change something in ratepic.php at line:

// If user does not accept script's cookies, we don't accept the vote

Thanks a lot!!

G.


gpitta