my user login page is always the default page

Ask a Question related to Coldfusion - Getting Started, Design and Development.

  1. #1

    Default my user login page is always the default page

    :brokenheart;
    my coldfusion application has an login page, some users logged in and
    saved some page to favorites, then close the browser without logoff from the
    application. 5 or 10 minutes later they open the browser and click on the
    favorite without logging into the application, how do i make it always go to
    the login screen ? I try session variable, but it doesn't work, because my
    session time out has to be 4 hours.
    i have some expert browser users, there should be a way to prevent this
    from happening, right? help! please!

    ben@bp Guest

  2. Similar Questions and Discussions

    1. user and admin login on same login page
      Hello, I have a user login page which also doubles as my administrator login. Currently, my method of logging in doesnt seem to be working...
    2. link user to the login page
      Hi. How do i kick user if they are not using login page to get acess?
    3. login user and sent to own home page
      Hi, i followed a tutorial: http://www.macromedia.com/devnet/mx/dreamweaver/articles/auth_users.html. It is not pure cold fusion i am ashamed to...
    4. Login User and Redirect to a specific page - help required
      I'm using ASP/Access 2000. This is what I would like to do. A site has a limited number of users - User Bert logs in and assuming gets thru...
    5. User changing something on a form makes asp.net take user to login page
      Hi, I have an application that displays the database table records on the web page, the user can navigate thru the contents and make changes and...
  3. #2

    Default Re: my user login page is always the default page

    Put the following in your application.cfm page. This will delete session
    variables when a browser closes, forcing them to log in again if they go to a
    page that requires session variables.



    <!--- Code below deletes sessions if browser is closed --->
    <CFIF ISDEFINED("Cookie.CFID") AND ISDEFINED("Cookie.CFTOKEN")>
    <CFSET CFID_LOCAL = COOKIE.CFID>
    <CFSET CFTOKEN_LOCAL = COOKIE.CFTOKEN>
    <CFCOOKIE NAME="CFID" VALUE="#cfid_local#">
    <CFCOOKIE NAME="CFTOKEN" VALUE="#cftoken_local#">
    </CFIF>

    chill Guest

  4. #3

    Default Re: my user login page is always the default page

    :D thank you so much, i 'll give it a try
    ben@bp Guest

  5. #4

    Default Re: my user login page is always the default page

    :beer;
    once again, thank you ! i tried and it works!
    ben@bp 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