I am attempting to write a plugin for wordpress that partitions posts into different blocks, and then allows the user to access one block at a time. Right now I have it so I can get all the posts belonging to a block, set their block, etc. However, I need to keep track of the ID of the block the user currently has chosen. My question is, how do I set a variable specific to a user session, and then how do I access it?
If more clarification is needed, ask and I will edit to explain.