I'm not sure if this is the right place to ask but here's my question anyways.
I want to pass a value from an old session to a new session after the session times out.
Is it possible? If so how would i go about doing that?
Instead copying from old to new try extending the session time in config/session.php
'lifetime' => 120,
Or if you want to achieve same as you want to try this, run CRON job or Task Schedule which will run every minute and find out nearly expiring sessions and then renew it.