473,416 Members | 1,704 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,416 software developers and data experts.

Maintain Single Login in different Live Servers

Hi Xperts,

I have multiple Web Sites in different Live Servers. I want to login any of
the sites, and then I will access all the other sites without giving any more
login information (i.e I want to maintain the session state in all the web
servers).Web Sites are developed in ASP.Net using C#.Net. I have configured
my Web.Config with the Following details :

<sessionState
[t][t][t]mode="SQLServer"
[t][t][t]stateConnectionString="tcpip=127.0.0.1:42424"
[t][t][t]sqlConnectionString="data source=192.168.12.18;user
id=sa;password=password123"
[t][t][t]cookieless="false"
[t][t][t]timeout="20"
[t]/>

I have also executed the stored procedure "installsqlstate.sql" from my "SQL
Query Analyzier". The Session are being stored in the "tempdb DataBase"
properly.

Now the Problem Is :

If I am trying it with different applications in Different Live Servers and
having single SQLServer,then it is not working.[?]

Is there any concept of "machinekey" over here, or do I have to change the
machine.config?

Please Help,

Brojo Kishore Chatterjee.

Web Developer
Nov 19 '05 #1
1 1325
by default each vdir has its own session state and login. if you want a site
common login you will need code it yourself.

-- bruce (sqlwork.com)

"Pronojit Roy" <Pr*********@discussions.microsoft.com> wrote in message
news:4E**********************************@microsof t.com...
| Hi Xperts,
|
| I have multiple Web Sites in different Live Servers. I want to login any
of
| the sites, and then I will access all the other sites without giving any
more
| login information (i.e I want to maintain the session state in all the web
| servers).Web Sites are developed in ASP.Net using C#.Net. I have
configured
| my Web.Config with the Following details :
|
| <sessionState
| [t][t][t]mode="SQLServer"
| [t][t][t]stateConnectionString="tcpip=127.0.0.1:42424"
| [t][t][t]sqlConnectionString="data source=192.168.12.18;user
| id=sa;password=password123"
| [t][t][t]cookieless="false"
| [t][t][t]timeout="20"
| [t]/>
|
| I have also executed the stored procedure "installsqlstate.sql" from my
"SQL
| Query Analyzier". The Session are being stored in the "tempdb DataBase"
| properly.
|
| Now the Problem Is :
|
| If I am trying it with different applications in Different Live Servers
and
| having single SQLServer,then it is not working.[?]
|
| Is there any concept of "machinekey" over here, or do I have to change the
| machine.config?
|
| Please Help,
|
| Brojo Kishore Chatterjee.
|
| Web Developer
Nov 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Dave Smithz | last post by:
Hi There, I have taken over someone else's PHP code and am quite new to PHP. I made some changes and have implemented them to a live environment fine so far. However, I now want to setup a...
5
by: Dominic | last post by:
My question is about how to maintain view state in mobile ASP.NET across postback / request in a web farm environment. First of all, let's assume the web-farm does NOT use stick-session feature....
1
by: Larry Page | last post by:
What started off as a request for a Single Sign On solution is grown to the point where I need to make some long term design decisions and I'm hoping to get some input on how others are handling...
3
by: Dave Smithz | last post by:
Hi there, I have a website where users can log into. This users sessions as I believe most people use when implementing a login section of a website (each php page first checks a valid parameter...
11
by: Joseph Geretz | last post by:
I've been looking at two approaches for the maintenance of Session state for a Web Service application. One approach uses the old familiar Session object which I've used in the past for Web...
13
by: Samir Chouaieb | last post by:
Hello, I am trying to find a solution to a login mechanism for different domains on different servers with PHP5. I have one main domain with the user data and several other domains that need...
4
by: David W | last post by:
We have a setup where we have a single web application, but the user can be attached to any of a hundred different (identically structured) databases depending on their login credentials. ...
2
by: =?Utf-8?B?U2hhbm5vbg==?= | last post by:
I am trying to publish an application to a server that I do not have desktop access to because of our hosting environment. I publish to a file share. The WEB site has been configured by the hosts...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.