multistage registration

I am working on multistep registration module.If there are 8 steps for registration and suppose the person logged in and filled up 5 steps and submitted.when next time he will login,page for step 6 should get opened!it should restore the step!

How should i go about it?Please give me some guideline.

Thank you.

Could U please explain this some more. I’m confused with registration that is not finished, but U want user to login again, how is he going to login if registation is not completed? Or I’m missing something

What i want is whenever he logged in,it should return previous url.

Store it in the database.

You can add a field to your table as "registration_status" with an integer value, then manage in your controller what view you want to show for each status.

Hope it helps.