Hi All,
This is a very basic thing but I can't get it quite right. I have 2 pages. The first page is a login page. The second page checks the password and username and redirects back to the first page if they are not correct.
On the second page, I have a POST variable that contains an error message. When I am redirected back to the first page, the variable is nowhere to be found. I can achieve what I need with a session but the sessions don't update immediatley and besides, I don't think it is right.
What is the trick to using POST to do this?
Thanks,
Frank
This is a very basic thing but I can't get it quite right. I have 2 pages. The first page is a login page. The second page checks the password and username and redirects back to the first page if they are not correct.
On the second page, I have a POST variable that contains an error message. When I am redirected back to the first page, the variable is nowhere to be found. I can achieve what I need with a session but the sessions don't update immediatley and besides, I don't think it is right.
What is the trick to using POST to do this?
Thanks,
Frank
Comment