http://qs321.pair.com?node_id=1083637


in reply to Execute code after session expire

This dialogue seems kind of like the following:

Q: "I would like to enter the house."

A: "Open the front door and walk in."

Q: "I cannot use the front door."

A: "Why not?"

Q: "There is a front door but I can't use it."

A: "Why can't you use it?"

Q: "There's a door at the front, and it's called front door, but I can't use it."

A: "Can you show a floorplan, and a picture of the front door?"

Q: "I want to enter the house."

After reading this dialogue, do you (the OP) have any idea why our character can't enter through the front door? Do you have a mental picture of what the door looks like? Do you know anything about its hardware? (lock, knob, etc) At the end of the dialogue you know only that there's a door, that the person wants to enter, and that there is some inexplicable reason why he believes he can't use the door. We don't know if he just needs a key, if the door is broken, if he's not invited and thus needs to find a partially open window in the basement to sneak through... maybe there's a giant piece of furniture inside the front door blocking its use. Maybe the front door is not to be used, and there's a service entrance.

But we don't know. And we don't know what obstacles YOU are facing either, which means we are unable to help you until you start explaining yourself.

Show some minimal amount of real code that demonstrates your session handling as it currently exists. When someone asks "why", don't say "doesn't work" or "can't", explain your situation. Whatever problem you're facing, we probably can find someone to solve it, but we don't know enough about the problem yet.


Dave