Coppermine session Coppermine session
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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