[Mono-list] ASP .net Session
rlejsza at gsd-software.com
Wed May 27 10:22:26 EDT 2009
and one extra question. Do you know what maybe issue:
I'm setting in web.config session time-out for 60 min. Unfortunately after
around 10min session is lost in application.
When I'm deploying it on MONO VMWare it's working fine for 60mins. But if
I'm deploying it on web server Apache with mod mono it's loosing session
after short time.
Do you think that this problem could be connected with copying new files or
it could be caused by something else?
I know that in our network runs some script which automatically updates
websites. All previous are written in PHP and it don't affect them. I'm
asking because I'm not 100% sure, that after rewriting files session is
lost. I made some tests on VMWare and after replacing files, session was
Tom Opgenorth wrote:
> Probably not. What is happening here is that ASp.NET is detecting
> that net needs to start the application so is recycling the AppDomain.
> Trying to preserve session state is meaningless, as all those
> sessions are gone and I don't think you have a way to map a user's new
> session to the old one. This isn't the answer you want to hear, but
> the work-around is not to copy the file over when people are logged
> What I do to make it a bit more friendly to the user is take the
> website down with an app_offline.htm, copy files over, and then remove
> On Wed, May 27, 2009 at 07:03, rlejsza <rlejsza at gsd-software.com> wrote:
>> I've got question.
>> Is it possible to change some asp .net setting that session will be kept
>> not lost) after I've copy new files onto server. I'm asking because when
>> application is running and someone is logged in and I copy exactly the
>> files to the server, without any changes, session from this user is lost.
>> Do you know maybe any workaround for such problem?
>> View this message in context:
>> Sent from the Mono - General mailing list archive at Nabble.com.
>> Mono-list maillist - Mono-list at lists.ximian.com
> Mono-list maillist - Mono-list at lists.ximian.com
View this message in context: http://www.nabble.com/ASP-.net-Session-tp23742063p23743500.html
Sent from the Mono - General mailing list archive at Nabble.com.
More information about the Mono-list