cookies and sessions die cookies and sessions die
 

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

cookies and sessions die

Started by sporkit, August 28, 2004, 11:30:02 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sporkit

im including a flash banner on my site and wrapping my sites header and footer around the cpg script.  using php i tell my template to either play an into banner (when a users first visits the site) or a loop banner (so im not displaying a flashy banner every time they click something).

anyway i tried storeing a varaible that will tell the my server to play either the intro or the loop.  this works fine around my site however when i include my header into the cpg script all my sessions and cookies get reset.  which means i cant pull the value i need to stop the flash intro from playing.

does anybody know if there is a reason cpg does this or possibly a work around?

Joachim Müller

coppermine doesn't use sessions (unless bridged with your bbs app, but then it's the bbs app that will use sessions). There's little use talking in theory about your issue, unless you post some links (to your start page and your coppermine gallery) and some code snippets.

Joachim

sporkit

$domain = $_SERVER['HTTP_HOST'];
$path = $_SERVER['PHP_SELF'];
$cururl = $domain.$path;
if ( $cururl == 'www.f8klan.com/thug/pictures/index.php' || $cururl == 'www.f8klan.com/thug/pictures/thumbnails.php' || $cururl == 'www.f8klan.com/thug/pictures/displayimage.php' || $cururl == 'www.f8klan.com/thug/pictures/upload.php')
{

$lgo_ply = 1;

}


well ive been dealing with this problem for quite some time .  rather than fix it i just surpressed it for now.  when my new site is up ill post more code and links.