Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Max Session time

Status
Not open for further replies.

evergrean100

Technical User
Dec 1, 2006
115
US
For sessions what is the maximum I can use?

I would like to set my session timeout to 14 hours:

Code:
 CFAPPLICATION NAME="MyApplication"      CLIENTMANAGEMENT="Yes"      
SESSIONMANAGEMENT="Yes"      
SETCLIENTCOOKIES="No"      
SESSIONTIMEOUT="#CreateTimeSpan(0,0,840,0)#"


Will the 14 hour session put a load on our CF 7 server on IIS? And I assume the session id is stored on the server and client??
 
just be aware that a very busy site holding on to that many session for that long *could* have memory issues if you are storing large data object like queries in the session.

a few simple session vars will take up very little memory even for thousands of users.

Really, simple variable like isloggedon, username, and junk like that that we always do is only a matter of bytes per user. Several thousand users is barely in the MB range + overhead for CF, so you should be ok.



Kevin

Phase 1: Read the CFML Reference
Phase 2: ???
Phase 3: Profit!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top