session timing out prematurely?
Posted on 2004-08-04
I'm sending a link in an email that has a session id embedded in it to allow a download for a set period of time. Now the link seems to work fine for the first five minutes but after that I get the following error
"Object reference not set to an instance of an object"
Programtically I'm setting the Session to a full day as follows
Session.Timeout = 1440;
but the web.config file is as follows:
So the questions are does the web.config's timeout override the programmatic timeout of 1440. If so, the link is going bad after 5 minutes not 20? What could be the problem?