Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Site Wide User Authentication  (Read 3551 times)

0 Members and 1 Guest are viewing this topic.

itrends

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Site Wide User Authentication
« on: November 24, 2004, 11:10:30 am »

I have done many searches on the forums over the last couple of days, and nothing has really helped me answer my question so here goes (of course I do appologise if this is actually located somewhere) :-)

I have worked quite a bit with PHP sessions, html etc so im not a noob as such. I just really have not worked much with cookies, nor enough with coppermine to know exactly how to accomplish this.

My Question:
Can anyone supply me either links, or information on making use of the cookies / authentication of Coppermine. I have seen mentions of ssi.php etc but that appears to be un supported now and I can't find the file anyway. :-)

I am creating a new site from scratch. I would like it so that when a user logs into coppermine, that's it, they are logged in. I want to be able to check if they are logged in and give them access to other areas of the site using the same cookie. Or display different information on pages (if statements?) based on if they are logged in or not.

Essentially I simply want to know, how do i check if a user is logged in, then how do i display information / use the information base upon this.

Let me give some examples:

User logs in
The site can then display their username or realname anywhere on the site.

User Logs in
Other pages can be made accessible to the user

User logs in
Can add a direct link to their gallery on any page where needed.


If anyone can supply me with some information on this I would be most thankful.

I have worked quite a bit with PHP sessions, html etc so im not a noob as such. I just really have not worked much with cookies, nor enough with coppermine to know exactly how to accomplish this.

I wish to use coppermine as the authorisation for the site :-)

I look forward to hearing from someone soon.

Kind Regards,
David
« Last Edit: December 03, 2004, 01:57:21 pm by GauGau »
Logged

Nibbler

  • Guest
Re: Site Wide User Authentication
« Reply #1 on: November 24, 2004, 12:25:22 pm »

Something like this maybe ? :)
« Last Edit: November 24, 2004, 12:27:06 pm by Casper »
Logged

itrends

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: Site Wide User Authentication
« Reply #2 on: November 24, 2004, 12:33:42 pm »

Indeed :-)

Thank you muchly!!
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.