473,653 Members | 3,015 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Stopping login abuse in a load balance scenario

Hi,

The problem....

We have 2 webservers, behind a Load Balancer.

We have set the website on both boxes to store sessions in SQLServer.

To prevent people sharing the logins, we have utilised the following
article http://www.eggheadcafe.com/articles/20030418.asp (Which stores
logged in users in an Cache set as Sliding expiration)

However, it seems that despite our settings, if two people try to log in,
and they are directed to different servers, they can still login.

We have confirmed this is the case - is it possible for us to prevent this
without resorting to third party software?
Jun 29 '06 #1
1 957
you need to move the login status from a server cache to sqlserver table.

-- bruce (sqlwork.com)
"Paul" <pa**@nospamspi reite.ndo.co.uk > wrote in message
news:13******** *************** ******@40tude.n et...
Hi,

The problem....

We have 2 webservers, behind a Load Balancer.

We have set the website on both boxes to store sessions in SQLServer.

To prevent people sharing the logins, we have utilised the following
article http://www.eggheadcafe.com/articles/20030418.asp (Which stores
logged in users in an Cache set as Sliding expiration)

However, it seems that despite our settings, if two people try to log in,
and they are directed to different servers, they can still login.

We have confirmed this is the case - is it possible for us to prevent this
without resorting to third party software?

Jun 29 '06 #2

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

Similar topics

4
3431
by: XP | last post by:
I am having problems with the blow page. I have a login page where I enter the userid and password. This then connects to this page. If I enter the userid and password correctly, it prints successfully logged into system. If I enter the wrong information all I get is an erro page HTTP status 502 etc. Can anyone help? <?php
4
15881
by: Keith | last post by:
I'm in the same boat as the fellow who posted this message back in August: Title : Windows Service, How does one make a service "fail" properly? Author : Ross Bennett Group : microsoft.public.dotnet.languages.csharp URL :...
6
4049
by: Andrew Robinson | last post by:
I am running two servers with a hardware network load balancing device. I know that to share session information between the two servers I need to implement some type of SQL based session information, but I would simply like to share the SessionID. Mainly for some logging applications. The SessionID does currently seem to be shared between the two servers and I haven't changed anything with my configuration or implemented anything...
7
10052
by: Gene | last post by:
I have a Windows Service (VB.NET) that runs 24/7. It queries a Web service 5 to 10 times per hour. About 2 or 3 times a month, it fails. The log indicates that it sends the request to the Web service but there is no return from the service. Stopping and restarting the Windows service cures the problem. Our desire is to cure the problem with appropriate error handling but failing that, is there an easy way to automatically stop and...
2
4500
by: sotto | last post by:
I need a loginscreen, that will show a progressbar that changes values based on a method in the main application (loading data from database) how would i do this? (i guess i need threading for this) the main application shouldn't be accessible when the login password hasn't been entered correctly. anybody who can give me some help with this?
4
3683
by: nemesis.saurabh | last post by:
hi, i am stuck up on this problem. In a load balanced scenario the post back is not happening i.e. when a control on the web form is clicked, the post back does not occur at the server and server code does not get executed and it times out depending on the IIS settings. For example, we have a simple web form with a button. When the button is clicked, the code in the button click event in the .cs should get executed. However this does...
0
2242
by: harisankar22 | last post by:
Hi All, I am trying to configure a load balancer environment with mod_jk and tomcat workers. I have 2 applications app1 deployed on a set of servers, and app2 deployed on another set of servers. Can I use a single load balancer to balance load among two types of application?? ie all request to app1 should go to servers where app1 is deployed and requests to app 2 should go to set of servers where app 2 is deployed. Is this possible??...
1
3313
by: =?Utf-8?B?VEo=?= | last post by:
Hi, Environment : Asp.net 2.0 / C# As you know, there is a "Remember me" check box in Login control is VS.NET 2005. It allows you to get in the page without logging it if user closes browser, instead of logging out. It works...however, in the authenticate event, what if session is used?
1
2584
by: tmcjunkin | last post by:
I'm trying to back into this project by defining what the user needs to see when they open a form. I'm between beginner and intermediate with vba, but have been using access for years. When the user opens the form they need to see the resident's current balance. The balance includes: Previous balance (which I can just pull in) Current rent (which needs to be based on the date the form is opened) Late fees (which needs to be based on...
0
8370
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8283
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8590
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7302
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5620
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4147
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4291
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2707
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1591
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.