Storing session or cookie
I have to types of users.
1 - Logged in user.
2 - Guest.
Login user has a UserID Session to be used if any record is inserted.
In such case for Guest, I would like to store data like inserting a record using cookie.
Example:
Table named "Data" contains : DataID DataUserID DataName
Currently if logged in User insert a record into Data table we are storing session ID of user.
But in case of guest what needs to be done.