php - Is it possible to save SESSION variable after a certain time passes? -
i want save session variable's content in database in 5 minutes after content saved in variable. how can ? there way avoid cron ?
you save data in table/file/whatever time stamp - say, you'd need cron or equivalent - action can't performed on web page , session data 5 minutes later.
unless stay on page , ajax request or that.
Comments
Post a Comment