locked
Meaning of Aspnet code below... RRS feed

  • Question

  • User-1456126514 posted

    what is meaning of this  code :


     com.recruitment.ui.webfactory.endsession(session.session(id));
     form.authentication.signout();
    session.abandon();
    form.authentication.redirecttologinpage(); 

    Wednesday, October 14, 2015 7:22 AM

Answers

  • User-821857111 posted

    The first line is a custom method. What it actually does is anyone's guess, but from it's name, it appears to end a session, or clear its content. The second line logs the user out by clearing the authentication cookie. The third line clears the session (again, perhaps) and the fourth line redirects the user to the page designated as the loginUrl. 

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, October 14, 2015 8:17 AM