Jump to content

Recommended Posts

I am creating a long form that I'd like users to be able to return to. Currently I have a login system that uses mysql and sessions.

 

I'd like to be able to save their document for 48 hours so they can return to it. Then email it at intervals of 48 and 72 hours if not completed...

 

Here's the two option I was thinking of:

 

MySql: Save the data into a database and setup a date created field and compare the date now to it. Use if statement to send data if over 48 or 72 hours.

 

Sessions in PHP: Use sessions and have the session expire in 48 hours? How would I email it after a certain time period if I used sessions?

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.