SESSION and browser close

Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default SESSION and browser close

    I have written a shopping cart application which kills all SESSION vars when
    the browser is closed. However, despite it working correctly on my local
    development server, once uploaded to thte live environment, it maintains the
    SESSION which, in a shoppingcart application provides a security risk. I have
    used the tried and tested 'session killer' but no joy... can anyone suggest a
    possible cause? I have contacted the host to see if their CF servers run on
    J2EE, which I have read could be a possible cause.

    grease Guest

  2. Similar Questions and Discussions

    1. close all browser windows?
      Does anyone know of any javascript or other method to close all open browser windows? I have an issue where a user logs in to our intranet through...
    2. Close Browser and Change URL - HELP!
      Hi all, Here's my situation: I have a URL with a link that: 1. Opens a new browser window, in which reside an SWF movie. 2. At the end of...
    3. close my project that is in a browser window (close this window)
      How can I do this with a button? What do I have to put into button?
    4. Browser Close Event
      which event is fired when a browser is closed. i want to call asp page which deleet some files on the server. i tired using onunload event but it...
    5. How to close the browser down ?
      Good evening all. I know how to close the browser down when there is no frames involved. I have a frameset aspx page. It has 3 frames, left, main...
  3. #2

    Default Re: SESSION and browser close

    can you explain how you are expiring the session when the user closes the brwoser with out logout.
    vkunirs Guest

  4. #3

    Default Re: SESSION and browser close

    Even if it did work (how does the server know that the browser was
    closed?), the security risk persists. Some people don't close their
    browser but surf on to other sites and then leave the browser open to go
    for a coffee. How would the server know that the user is doing something
    else and therefore the session should be closed?

    They only solution I see in this case is to time-out the session after a
    certain period of inactivity on the shopping site.

    ben

    grease wrote:
    > I have written a shopping cart application which kills all SESSION vars when
    > the browser is closed. However, despite it working correctly on my local
    > development server, once uploaded to thte live environment, it maintains the
    > SESSION which, in a shoppingcart application provides a security risk. I have
    > used the tried and tested 'session killer' but no joy... can anyone suggest a
    > possible cause? I have contacted the host to see if their CF servers run on
    > J2EE, which I have read could be a possible cause.
    >
    ben 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