Authentification Authentification
 

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

Authentification

Started by jimbo, January 17, 2004, 12:47:10 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jimbo

Hi,

I have integrated cpg into my site. At the moment I am running two auth systems - 1 for areas of the site and 1 for cpg. Both systems use the same mysql table. I would like to avoid having my users log in twice!!

Question is: can one integrate the cpg authentification method on other pages not directly related to cpg?

Cheers
Jimbo

Joachim Müller

sure, just "borrow" coppermine's authentification (cookie handling) and use it on other pages as well.

GauGau

jimbo

Thanks GauGau, so I suppose that means including the file init.inc.php. Or is it another file. Sorry I'm not that advanced on programming!!

Thanks again
Jimbo

Joachim Müller

I recommend not including the whole file, but take out the authentification bits and create a separate file out of it and include that. Remember that cookie handling (http headers) has to be done before the output starts.

GauGau

jimbo

Cheers for all your help, I have to admit I've tried all morning but to no avail. :x

I'll try again but if you could offer some pointers I'd be most greatful

Danke!
Jimbo