How to store some buffer data in session

Hi team, Some one can help on How to store some buffer data into session in between the period of  login and logout. For example when user login into application, user will provide the mobile number but we should not  save into database ,But that mobile number should be there till user sign out of the application.   Thanks, Rajesh
1 answers

Hi Rajesh Tanneru,
You can create an Non-Persistable Entity and Create Attributes which ever you want to Store data in and Associate with System.Session .
You create the object after entering the mobile number and set the Association with Current Session. 
You can retrieve the Np object through out the session until user logs out and Session is cleared.

Hope this Helps!!