sessionState mode="StateServer"

M

Med

Hi,

My Settings in web.config:

<sessionState
mode="StateServer"
stateConnectionString="tcpip=127.0.0.1:42424"
sqlConnectionString="data source=127.0.0.1;
Trusted_Connection=yes"
cookieless="false"
timeout="20"
/>

I have couple of questions regarding setting sessionState in asp.net 2
web.config as follow:

1. Is it recomended (performance wise) to run "ASP.NET State Service" on
the same machine as the IIS serving 20+ websites, or should I use Inproc and
stop the ASP.NET State Service?
2. Can I remove lines

sqlConnectionString="data source=127.0.0.1;
Trusted_Connection=yes"

as I do not use sql server for my sessionState?


Thanks for your time.


Med
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top