Search found 6 matches
- Thu Apr 30, 2009 2:07 am
- Forum: PHP - Code
- Topic: php login help
- Replies: 9
- Views: 215
Re: php login help
wow! it worked like a charm. thanks man.
- Thu Apr 30, 2009 1:07 am
- Forum: PHP - Code
- Topic: php login help
- Replies: 9
- Views: 215
Re: php login help
okay i've used "session_set_cookie_params(60);" to set the session to 60 seconds and then "if (!$_SESSION["valid_user"])" to validate if a certain session is active and if not, redirects to the login page. another question though, how do i edit or display a message on t...
- Wed Apr 29, 2009 11:15 pm
- Forum: PHP - Code
- Topic: php login help
- Replies: 9
- Views: 215
Re: php login help
I'm using sessions. How will i know if the sessions time out? How can i set the timeout? Is it done through the php.ini or in the php code itself? And after it times out, how can i redirect them to the login page?
thanks in advance
thanks in advance
- Wed Apr 29, 2009 1:34 am
- Forum: PHP - Code
- Topic: php login help
- Replies: 9
- Views: 215
Re: php login help
I got it working!!! Another question though, how can I add an expiration, let's say after 30 minutes of being logged in, the page automatically redirects to the login page for the member to log in again? And also when the user closes the members page and then went back on it again, let's say the mem...
- Wed Apr 29, 2009 12:36 am
- Forum: PHP - Code
- Topic: php login help
- Replies: 9
- Views: 215
Re: php login help
ok sorry about that After I have logged in successfully to my 'login page', the 'members page' appears and displays information, data regarding that member. What happens is after I refresh the 'members page', it will show a blank page. what i want is when I refresh the page, i wanted to refresh the ...
- Tue Apr 28, 2009 10:13 pm
- Forum: PHP - Code
- Topic: php login help
- Replies: 9
- Views: 215
php login help
Hey there! I'm new to PHP, i've been working with VB6 & .NET before but never been on PHP. I have a few background on HTML but that's about it. anyway I currently have a new project and I need your help. I would like to know how to make a login page using mysql database and then sort of redirect...