Call template when session times out

Ask a Question related to Macromedia ColdFusion, Design and Development.

  1. #1

    Default Re: Call template when session times out

    You would have to use javascript on the client side to do something like this.
    OldCFer Guest

  2. Similar Questions and Discussions

    1. #40259 [NEW]: ob_start call many times - memory error
      From: tomwys at o2 dot pl Operating system: Linux PHP version: 5.2.0 PHP Bug Type: Output Control Bug description: ob_start...
    2. Recursive call with session variable
      I set a session variable on error in the login page and then call the login page again. I test on that session variable but it shows as not set. I...
    3. CF Session variables and Flash on a CFM template
      Respected community members, I think my topic summary about covers it, but: Is it possible for a Flash movie that is embeded into a CFM...
    4. Loading Acrobat Multiple Times In One session
      at my workplace, we are developing a new website that will have all financial report requests published to the screen as a pdf. When these reports...
    5. PROBLEMS : session timing out / login multiple times
      Hi all, In our company we use sticky IP to make sure that everybody always returns to the machine where their Session was started. We have a...
  3. #2

    Default Re: Call template when session times out

    Tulsa wrote:
    > Is there a way to have my login screen appear when my users sessions' timeout
    > (session timeout automatically logs them off)? Right now when a user timesout
    > they have to click on a link and then the login screen appears. What I would
    > like is to have the login display automatically when the session timesout, say
    > if the user didn't log out and went to lunch or something.
    CFMX 7 has a new onSessionEnd method that you can put in an
    Application.cfc (optional replacement for Application.cfm) and you could
    handle this sort of thing in there. Not sure if you're on CFMX 7 or
    soon will be, but I thought I'd mention it. The new application events
    that are available are as follows:

    onApplicationStart
    onApplicationEnd
    onRequestStart
    onRequest
    onRequestEnd
    onSessionStart
    onSessionEnd
    onError

    More reasons to upgrade! ;-)

    Matt
    --
    Matt Woodward
    Team Macromedia - ColdFusion
    mpwoodward *TMM* 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