|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I enabled J2EE sessions variables because I wanted a session to terminate if the browser was closed. However, when they are enabled I keep getting the following error message:
Session is invalid null <br>The error occurred on line -1. Which I think is happening in the Application.cfc. It prevents my Coldfusion site working until I close the current browser window and restart. |
|
#2
|
|||
|
|||
|
Try restarting the server or the CF and JRun services. I've seen this happen when the J2EE session times out before the CF-based session does.
__________________
Ask if you have a question, but also help answer questions that you have knowledge of! Thanks, Brian. How to Post a Question in the Forums |
|
#3
|
|||
|
|||
|
Quote:
The problem does go away once the browser window is closed and reopened so clearly there is some timeout issue. My concern is the fact that some exception condition is being thrown as a result. Is there some housekeeping I should implement in Application.cfc to guard against the exception? |
|
#4
|
|||
|
|||
|
Did you restart the server (that's what I was asking)?
|
|
#5
|
|||
|
|||
|
Yes.. I did. Problem still exists...
Turned off J2EE Sessions for the time being as it is slowing development down. I will re-visit later... |
|
#6
|
|||
|
|||
|
You might try the Macromedia forums or contacting Macromedia directly. I have heard of this problem but it was usually just an issue of the "old" sessions needing to time out so that all sessions were using the J2EE session type. You could try Googling the error if you haven't already. For example, have you tried this ?
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ColdFusion Development > J2EE Session Variables |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|