hello,
i have three websites in a single machine. each of them in a separate virtual directory.
i want to share a common session among these sites. so i choose sessionState mode="StateServer"
but now the problem is i am not getting the session information among the sites. for example, if i login in site1 i do not get session data in site 2. but it is working properly in site1 only.
right now, all these sites are in my local windows xp (sp2) pc. following is the configurations that i have done. i think i am missing something. but can't figure it out. i will be thankful if any help is available.
[ In all of my 3 site's web.config i have these ]
<system.web>
<machineKey validationKey="4896CD2F08E322....AC769358A5D058E8CA3AD"
decryptionKey="5B66B8B19BA4....CE06BCA617CEAF8A8092523" validation="SHA1"/>
<sessionState mode="StateServer"
stateConnectionString="tcpip=127.0.0.1:42424"
cookieless="false"
timeout="20"/> <authentication mode="Windows"/>
</system.web>
I have also serialized my class that i put in session, and i also tested with primitive types for simplicity.
what else i need to do to make it work?
thanks in advance.