I would to set cookie using _satellite.setCookie(cookiename, value, days) but if you see the parameters, we have an option to expire it in days. On the other hand, I want to expire the cookie when user session ends. Is there any way to achieve this?
I know that this is a bit of an old post, but in case anyone searches for this and finds this post, it's worth noting that the _satellite.setCooke/readCooke/deleteCookie functions are not supported in Adobe Launch. So, you will run into problems when migrating there if you use these functions.