[Mono-list] ASP .net Session

Robert Jordan robertj at gmx.net
Wed May 27 11:22:10 EDT 2009


rlejsza wrote:
> So the easiest way is to solve that is to install on webserver this
> asp-state2 module and configure web.config to use it to handle sessions, am
> I right? :)

Right. Mono's asp-state is a tad clumsy, though. You may want to
take its sources[1] and customize it.

Robert

[1] http://anonsvn.mono-project.com/viewvc/trunk/xsp/tools/asp_state/

> 
> Radek
> 
> 
> 
> Robert Jordan wrote:
>> rlejsza wrote:
>>> Hi,
>>>
>>> I've got question. 
>>> Is it possible to change some asp .net setting that session will be kept
>>> (or
>>> 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
>>> same
>>> files to the server, without any changes, session from this user is lost. 
>>>
>>> Do you know maybe any workaround for such problem? 
>> You have at least 2 choice:
>>
>> (1) StateServer session state using asp-state2.
>>
>> (2) database session state.
>>
>> Both are documented on MSDN:
>>
>> http://msdn.microsoft.com/en-us/library/h6bb9cz9.aspx
>>
>> Robert
>>
>> _______________________________________________
>> Mono-list maillist  -  Mono-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-list
>>
>>
> 



More information about the Mono-list mailing list