Keep Session alive
Posted: Wed 08 Oct 2014 10:41
Hello!
We are using a Direct-Connection with Pooling on, Entity Framework 4.0, .Net 4.0 and facing the problem that the session vanishes after aprox 4 minutes of inactivity.
Due to the fact that we're using the Oracle VPD-Feature we need to execute a stored procedure for the current session in order to activate roles for the current user.
This procedure is quiet expensive performance-wise, so i'd like to know if there's any way to keep the same session.
We recently upgraded from verson 6.30.202.0 in which the session was kept infinit to version 7.9.333.0 which causes the problems.
Setting the "Connection Liftime" property in the connection string did not change the behaviour.
Thank you in advance!
With regards
Marco Droll
We are using a Direct-Connection with Pooling on, Entity Framework 4.0, .Net 4.0 and facing the problem that the session vanishes after aprox 4 minutes of inactivity.
Due to the fact that we're using the Oracle VPD-Feature we need to execute a stored procedure for the current session in order to activate roles for the current user.
This procedure is quiet expensive performance-wise, so i'd like to know if there's any way to keep the same session.
We recently upgraded from verson 6.30.202.0 in which the session was kept infinit to version 7.9.333.0 which causes the problems.
Setting the "Connection Liftime" property in the connection string did not change the behaviour.
Thank you in advance!
With regards
Marco Droll