FormsAuthentication.SignOut() help....

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default FormsAuthentication.SignOut() help....

    Hey all,

    I am using FormsAuthentication.SignOut() to sign users out of their
    session, however, if they use the Backspace button they can backspace
    through the pages and see some vital information.. Can someone tell me
    how to fix this????

    Here is my login code..


    --------------------------------------------------------

    FormsAuthentication.RedirectFromLoginPage(Username textbox.Text, False)


    --------------------------------------------------------

    Also, how can I manage the session timeout with this??

    thanks in advance

    Brian Guest

  2. Similar Questions and Discussions

    1. FormsAuthentication.SignOut() problem
      Hi All, (thanks in advance for your time) I have a standard login.aspx page (UserName\Password). When the user successully sign in they are...
    2. FormsAuthentication.SignOut not working
      Hello This SignOut code is not working, any ideas? TIA. public class logout : System.Web.UI.Page { private void Page_Load(object sender,...
    3. FormsAuthentication.SignOut() not working.
      In my search to understand ASP.NET security, I went to www.asp.net and was looking at their beginner source code. Here is the link to the code that I...
    4. What is the purpose of FormsAuthentication.SignOut()?
      MSDN documentation says: Removes the authentication ticket. That's it. Where does it remove the authentication ticket from (server /...
    5. FormsAuthentication.signout does not ??
      I am using forms authentication to secure my pages. For my logout, I created a logout page with FormsAuthentication.signout is called at the...
  3. #2

    Default RE: FormsAuthentication.SignOut() help....

    The session timeout is maintained for the whole application in web.config
    settings.

    You can use History.Back in javascript to disable the Back button of the
    browser.

    with regards,

    J.v.


    "Brian" wrote:
     
    Ravichandran Guest

  4. #3

    Default RE: FormsAuthentication.SignOut() help....


    Thanks.. that worked..


    *** Sent via Developersdex http://www.developersdex.com ***
    Brian Guest

  5. #4

    Default RE: FormsAuthentication.SignOut() help....

    It did??

    The actual code should have been window.history.forward(1). This will ensure
    that there is no page in the history. Because each time the Back button is
    clicked, the above client side script will force the page forward and land
    the user on the same page.

    with regards,

    J.v.


    "Brian Ciarcia" wrote:
     
    Ravichandran Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139