Coppermine session Coppermine session
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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