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


In reply to Re: Execute code after session expire by davido
in thread Execute code after session expire by rjit17@gmail.com

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.