Skip to content

Session timeout and recreating session #1198

Description

@itg-assistant

Tobias asked 2017-11-02 13:27:20 UTC

I'm about using WiseJ to create a multiuser application published on the Internet.
It has a login page where I redirect the users to once Application_SessionTimeout occurs. In this case I exit the app and create a new login form. So far so good.

What I want to prevent is to have multiple active but unused server sessions because of browsers which have the login page displayed but are not (currently) in use.

Therefore I have two solutions in mind:

  • In case of timeout/application exit instead of creating a new login form (and a new session !) I display a html message stating the page has to be reloaded. In this case I think I don't have to care about multiple unused sessions.

  • The way I would prefer - but not sure if this is possible - I display the login form again in the browser but kill the session ! The user should be able to see the form and only when he clicks on "Login" a new session should be (re)created.

Maybe you can tell me if the second option is possible to realize with WiseJ ?

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    GeneralQuestions, how-tos and everything else.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions