That's up to your server; I honestly don't know what the setting is nor where it is; however I do know that it's a webserver issue vs a UBB issue.
What OS is your server running on as well? I've seen one case in Window$ where full write/execute access hadn't been granted to the temp and sessions directory so the files woudln't get purged.