Session State Sharing

J

josh

Hi Guys,

I am wanting to share a simple Session between to ASP.Net Applications on
the same server, but i just can't get it to work.

I have changed my web.config file in both the projects to say the following:

<machineKey
validationKey="38E22A255C18376F79825BEA431C7AF42DB88EE0CA5139736FDD50138DDC3
F28D92BC10C9082EE91E2328633B5BEBDF28D1018B769905D27C5FE756D91C0B7B9"

decryptionKey="CDA352DD7398B5DED4B34F0182EE3F0CE05FE4A3CEFD63EC"

validation="SHA1"/>

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


Any help would be greatly appreciated?

Thanks,
Josh
 
E

Elton Wang

Hi Josh,

Session object can be used to store information needed for
a particular user session. I don't think you can share it
in different applications.

HTH

Elton Wang
(e-mail address removed)

-----Original Message-----
Hi Guys,

I am wanting to share a simple Session between to ASP.Net Applications on
the same server, but i just can't get it to work.

I have changed my web.config file in both the projects to say the following:

<machineKey
validationKey="38E22A255C18376F79825BEA431C7AF42DB88EE0CA5 139736FDD50138DDC3
D63EC"

validation="SHA1"/>

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

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,772
Messages
2,569,592
Members
45,103
Latest member
VinaykumarnNevatia
Top