CodeIgniter Forums

Full Version: Submit user form data automatically when a user logs in
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

Hello All,
I am working on a project and have stuck to a point that i have a booking form and i want that when user fills that booking form, first our system would check that whether user is logged in or not and second when he logs in his booking data should be automatically submitted within a certain time frame. One option that comes into my mind is to create session and when user logs in / register / clicks for forgot password option, and authenticated, his data should be submitted to database. But i don't want unnecessary rows in database for session(if possible) because i am storing all my session data in database.
Any guide on this would be helpful...