Welcome Guest, Not a member yet? Register   Sign In
How to handle request method post fields
#1

[eluser]Xavier D.[/eluser]
Hi,

I have an issue with a login system.

The login form is available on every page (menu dropdown).

I have a controller "user" with a function "login" to handle the post vars.

The problem is that I need to submit the form to user/login, the login function handles everything and does a redirect to the previous page, looks lide 2 redirections.

1) page -> /user/login 2) /user/login -> previous page

It is working, no problem, but I have a flash with the redirect, not very nice I think.

Is there a solution? So we can handle the post vars, not in the view offcourse. But on another way, whitout the refresh?

thx!


Messages In This Thread
How to handle request method post fields - by El Forum - 08-17-2008, 08:22 AM
How to handle request method post fields - by El Forum - 08-17-2008, 11:19 AM
How to handle request method post fields - by El Forum - 08-17-2008, 03:00 PM
How to handle request method post fields - by El Forum - 08-17-2008, 03:45 PM



Theme © iAndrew 2016 - Forum software by © MyBB