Using php-sessions for user accounts

atuin

Joined: 2003-07-23
Posts: 1
Posted: Wed, 2003-07-23 09:25

I have a website which already handles users using a mysql database and a login method which creates a php session that contains (or can contain) all of the relevant user information. Can I make use of this login method rather than the one built-in to gallery? If so how would I go about this?

Cheers,
Atuin.

 
Arch~Angel

Joined: 2003-07-23
Posts: 12
Posted: Wed, 2003-07-23 19:44

I have a problem very close to this one. I have a main web page which user log into and it uses PHP Session. Once logged in they can click a button to the message board or the gallery. Is there a way to use the MySQL Database passwords to access the galleries and also only log in once. Another thing to consider is refusing access if they simply link to the site such as www.mysite.com/gallery/ and still make them prompt for a username and password? This is to eliminate the chance of bypassing the log in screen.

Thanks Everyone,

Arch~Angel

 
alsal

Joined: 2003-07-24
Posts: 6
Posted: Thu, 2003-07-24 23:22

I am having the same problem, can't get Gallery to use my sessions for user info & access.

How is this done?