General question about Sessions being sticky and closing properly

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Gleep

    General question about Sessions being sticky and closing properly

    Hey PHP Gurus,
    I have some complex scripts that work fine. I have a system where sessions are validated on every
    page of my application to keep them secure. Everything runs fine when I test and code things. But I
    am also fanatical about updating the browser for security patches and remove all spyware, virues
    etc.. But some of my clients are not that savy and that leads me to my first question.

    Occasionally I have a client complain that when they are filling in a long form by the time they get
    to submit they've lost their session connection and are forced to log in again and start over.

    I can maintain a session connection for a long time and can't figure out why some people get booted
    off and some don't. it's randon can't find a pattern. I suspect it has something to do with browser
    refresh or popups or whatever... Anyway I'm looking for ideas how to maintain or increase
    "stickyness " with sessions?

    Second question. When clients use my application I do provide links they can use to "log out" but
    what happens to sessions when they just close the browser without logging out first? The system
    seems to operate fine, but should I be concerned or not? Is there some method to clear away old
    session data when the browser is just shut down without the client loggin off correctly, or should I
    just not worry about it ?

    Thanks for your help.
Working...