Forum Moderators: coopster

Message Too Old, No Replies

help with login

         

ayushchd

1:24 pm on Jul 30, 2007 (gmt 0)

10+ Year Member



Hii....Please help me out wid this code.... The problem is that the very last part of the code is not working the last if..else condition that has been set doesnt work, ie, when session remains and cookie expires...whenever there is such a condition a few notices are displayed and nothing else..

} else if (!isset($_COOKIE['user'])) {
if (session_is_registered("password")) {
echo "else if part";
}
}?>

[edited by: coopster at 12:54 am (utc) on Aug. 8, 2007]
[edit reason] removed irrelevant code [/edit]

coopster

12:55 am on Aug 8, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Hi ayushchd, and welcome to WebmasterWorld.

That was a fairly large chunk of code. I narrowed it down to your specifics but still don't understand your request. Can you explain the issue without so much code?