magento 2 confirm customer

i am tried to create login by mobile module so i need to confirm customer after verify mobile number.by this code i do that

add some value to customer session on magento 2

Hi … after many time

 

for add some data to customer session or another session you can do like this