So your saying that if a user logs in, then closes the browser, then opens a new browser, they are no longer logged in so they have to log in again and its creating a new session for them? So if i close 100 browsers and open 100 browsers and login, i cam creating 100 sessions??
Steve -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Andrew Scott Sent: Tuesday, March 01, 2005 1:29 PM To: CFAussie Mailing List Subject: [cfaussie] Re: CFCs calling CFCs Mark, Again this case is an Application of inheritance, I am trying to convince the boss why using session so much is a bad idea. In this case its an intranet application, and every time the browser is closed a new session is started for that user. But the problem is that until the time expires the session variables remain in memory, and that is my problem but I am trying to convince the right people that there is a better method here. Also how would .ToString() work on complex data such as structs and arrays, I tried myArray.Size() but it returns the number of elements not the actual size of the object. Regards Andrew Scott Technical Consultant NuSphere Pty Ltd Level 2/33 Bank Street South Melbourne, Victoria, 3205 Phone: 03 9686 0485 - Fax: 03 9699 7976 -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Stanton Sent: Tuesday, 1 March 2005 1:27 PM To: CFAussie Mailing List Subject: [cfaussie] Re: CFCs calling CFCs Hey Andrew > Here is the problem I have 80 users on this system, and every time > they log in and logout they are creating another session, multiply the > number of users by 500k by 100 logins an it starts adding up. I'm a bit lost here.... 80 users x 500kb of session variables (I guess?) x 100 logins. What do you mean by 100 logins? Each user logs in 100 times? Also 500kb of memory for a single session seems a bit steep. I'm sure its possible, but this really sounds like data you want on disk rather than in memory. What happens when you output: <cfoutput>#session.toString()#</cfoutput> Not sure how accurate using the size of this as a gauge of actual memory used would be (not very accurate I'd bet), but it might be a start. -- Mark Stanton Gruden Pty Ltd http://www.gruden.com --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/ --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/ --- You are currently subscribed to cfaussie as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
