View Single Post
Old August 15th, 2004, 10:01 AM   #13 (permalink)
Chuck S
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,666
Yep well basically what I see if that the session_id cookie is not there after you close your browser and come back directly to the browser. What it means is the sessions never match so checkpass never equals 1. The only other way cpaccess equals 1 is on login matching passwords so it is vital that the sessions match. What is funny is except for the altered queries and password structure the file is almost identical to ib.php. I found if you go to the forums the session_id is rewritten and your logged into Photopost fine.

So what I did is this

elseif ( $member_id && !$session_id ) {

Basically what that is saying is if member_id cookie exists and session_id does not delete their session and rewrite the session and create a session cookie.

THUS CHECKPASS EQUALS 1
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote