Coppermine session Coppermine session
 

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

Coppermine session

Started by just_some_guy, August 09, 2007, 09:20:59 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

just_some_guy

Hello,

I am using coppermine and have am "extra link" on the menu, however, this link is active when you are not registered/logged in. How do i check for the session on this page.


Thanks,
Tambien, Hablo Español      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

Joachim Müller

Don't check sessions, just check if a user is logged in or notif (USER_ID) {
  // user is logged in
} else {
  // user is not logged in
}

just_some_guy

Tambien, Hablo Español      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums