M
Mel
If my website is left open on a computer for more than 20 minutes,
then the user clicks the "Save" button (to submit the form) to make
sure they save the current record before moving to another the user
gets this error.
System.NullReferenceException: Object reference not set to an instance
of an object.
It fails on this line: Dim dttd As DataTable = Session
("TaskDetDataTable")
The same code works fine if they close their browser, open the website
again, and save the record. I tried changing the session timeout in
the Home directory configuration options in IIS to 90 minutes but it
still doesn't work well, I really don't want my session variables to
EVER clear out. How can I fix my issue?
then the user clicks the "Save" button (to submit the form) to make
sure they save the current record before moving to another the user
gets this error.
System.NullReferenceException: Object reference not set to an instance
of an object.
It fails on this line: Dim dttd As DataTable = Session
("TaskDetDataTable")
The same code works fine if they close their browser, open the website
again, and save the record. I tried changing the session timeout in
the Home directory configuration options in IIS to 90 minutes but it
still doesn't work well, I really don't want my session variables to
EVER clear out. How can I fix my issue?