Secure Login

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Nelson Joseph
Forum Newbie
Posts: 3
Joined: Mon Sep 28, 2009 5:27 am

Secure Login

Post by Nelson Joseph »

Hi All,

I am new to PHP. I have created a small login form with MySQL. Its working..., but I want to prevent when the user clicks the back button after logged in.

Now the login page is loaded again. - How to prevent this?

Please help me.
Thanks in advance

- Nelson
User avatar
JePS
Forum Newbie
Posts: 4
Joined: Fri Sep 25, 2009 1:17 pm

Re: Secure Login

Post by JePS »

After you have processed the POST request do a redirect to the same location maybe?
Nelson Joseph
Forum Newbie
Posts: 3
Joined: Mon Sep 28, 2009 5:27 am

Re: Secure Login

Post by Nelson Joseph »

could tell with some coding please?
User avatar
jackpf
DevNet Resident
Posts: 2119
Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK

Re: Secure Login

Post by jackpf »

Nelson Joseph
Forum Newbie
Posts: 3
Joined: Mon Sep 28, 2009 5:27 am

Re: Secure Login

Post by Nelson Joseph »

Its going to login page. (If I click back button from home page)
Actually I want login page that seems to be the joomla admin login page. Its very good. but I cant understand joomla coding.
Please help me
Post Reply