473,769 Members | 2,143 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

identification of remoting clients.

Hi all,

before starting I must say that I'm a remoting beginner so I certainly
didn't assimilate all the tricks of remoting so please be kind ;)

Now here is my interrogation:
I'm working on a client/server architecture for a callcenter software.
The server is the only one connected to the oracle database and all the
different clients (operator/admin...) are "connected" to the server via
remoting (it's the best I've found to communicate between server and
clients, am I doing wrong?).

I've managed to call server-instancied objects, make some events fired
over the network... the basic things :)
Now I was wondering: I must identify all the clients requests to give
them the good informations as they will all share the same
server-instancied object. And I'd like not to pass an id with every
client request so is there a way that the server identify itself the
client (once the client has been authentified) ?
I'm not sure to be clear...
Let me give an example :) :
when the client authentificate with the server (with a login/password)
the server would keep something that could distinguish this client from
the other (that's what i'm looking for, perhaps an channl identifier?)
and when that client would call other methods on the server object, the
server will be able to identify the client to give it the good
stuff....

Hope somebody can understand :s

PS: perhaps i use non-english words and i'm sorry, still working on it
;)

Thanks a lot in advance for your answers/feedback...

Sep 14 '06 #1
4 1752
ba******@gmail. com wrote:
Hi all,

before starting I must say that I'm a remoting beginner so I certainly
didn't assimilate all the tricks of remoting so please be kind ;)

Now here is my interrogation:
I'm working on a client/server architecture for a callcenter software.
The server is the only one connected to the oracle database and all the
different clients (operator/admin...) are "connected" to the server via
remoting (it's the best I've found to communicate between server and
clients, am I doing wrong?).

I've managed to call server-instancied objects, make some events fired
over the network... the basic things :)
Now I was wondering: I must identify all the clients requests to give
them the good informations as they will all share the same
server-instancied object. And I'd like not to pass an id with every
client request so is there a way that the server identify itself the
client (once the client has been authentified) ?
I'm not sure to be clear...
Let me give an example :) :
when the client authentificate with the server (with a login/password)
the server would keep something that could distinguish this client from
the other (that's what i'm looking for, perhaps an channl identifier?)
[Do you store the user in the database table? if that's the case, When
the user logged on, you can have identifier (like row id, unique id in
the table). Will that work for you??

Can you dynamically hash some value if you cannot use the above approach?

]
and when that client would call other methods on the server object, the
server will be able to identify the client to give it the good
stuff....

Hope somebody can understand :s

PS: perhaps i use non-english words and i'm sorry, still working on it
;)

Thanks a lot in advance for your answers/feedback...
Sep 14 '06 #2
hi :) thanks for answering :)

Yes I do have an unique ID for each authentified user stored in a
database.
But when, after authentificatio n, one client calls a function in the
remote object, how can I identify which client is calling (there i
could ask for the client its uid but if so I need to add an uid
parameter to each function the client could call from the object...).
That's why I was wondering if the object, instencied on the server
side, could, itself, identify wich client is call the function. Perhpas
I am looking for an UID generated by the remote channel created by each
client?

Jianwei Sun a écrit :
ba******@gmail. com wrote:
Hi all,

before starting I must say that I'm a remoting beginner so I certainly
didn't assimilate all the tricks of remoting so please be kind ;)

Now here is my interrogation:
I'm working on a client/server architecture for a callcenter software.
The server is the only one connected to the oracle database and all the
different clients (operator/admin...) are "connected" to the server via
remoting (it's the best I've found to communicate between server and
clients, am I doing wrong?).

I've managed to call server-instancied objects, make some events fired
over the network... the basic things :)
Now I was wondering: I must identify all the clients requests to give
them the good informations as they will all share the same
server-instancied object. And I'd like not to pass an id with every
client request so is there a way that the server identify itself the
client (once the client has been authentified) ?
I'm not sure to be clear...
Let me give an example :) :
when the client authentificate with the server (with a login/password)
the server would keep something that could distinguish this client from
the other (that's what i'm looking for, perhaps an channl identifier?)
[Do you store the user in the database table? if that's the case, When
the user logged on, you can have identifier (like row id, unique id in
the table). Will that work for you??

Can you dynamically hash some value if you cannot use the above approach?

]
and when that client would call other methods on the server object, the
server will be able to identify the client to give it the good
stuff....

Hope somebody can understand :s

PS: perhaps i use non-english words and i'm sorry, still working on it
;)

Thanks a lot in advance for your answers/feedback...
Sep 14 '06 #3
ba******@gmail. com wrote:
hi :) thanks for answering :)

Yes I do have an unique ID for each authentified user stored in a
database.
But when, after authentificatio n, one client calls a function in the
remote object, how can I identify which client is calling (there i
could ask for the client its uid but if so I need to add an uid
parameter to each function the client could call from the object...).
That's why I was wondering if the object, instencied on the server
side, could, itself, identify wich client is call the function. Perhpas
I am looking for an UID generated by the remote channel created by each
client?
[When you client is authenticated on the server side by
username/password, can you set the uniqueId to one property of the
client object.

I am not exactly sure what's your approach. But based on my experience
on a client/server communication (socket based) , when a remote client
is signed on, i immediately set all the properties for that client (
like client type, sign on time, etc ...), when the client is signing
off, I clear those properties.

]
>
Jianwei Sun a écrit :
>ba******@gmail. com wrote:
>>Hi all,

before starting I must say that I'm a remoting beginner so I certainly
didn't assimilate all the tricks of remoting so please be kind ;)

Now here is my interrogation:
I'm working on a client/server architecture for a callcenter software.
The server is the only one connected to the oracle database and all the
different clients (operator/admin...) are "connected" to the server via
remoting (it's the best I've found to communicate between server and
clients, am I doing wrong?).

I've managed to call server-instancied objects, make some events fired
over the network... the basic things :)
Now I was wondering: I must identify all the clients requests to give
them the good informations as they will all share the same
server-instancied object. And I'd like not to pass an id with every
client request so is there a way that the server identify itself the
client (once the client has been authentified) ?
I'm not sure to be clear...
Let me give an example :) :
when the client authentificate with the server (with a login/password)
the server would keep something that could distinguish this client from
the other (that's what i'm looking for, perhaps an channl identifier?)
[Do you store the user in the database table? if that's the case, When
the user logged on, you can have identifier (like row id, unique id in
the table). Will that work for you??

Can you dynamically hash some value if you cannot use the above approach?

]
>>and when that client would call other methods on the server object, the
server will be able to identify the client to give it the good
stuff....

Hope somebody can understand :s

PS: perhaps i use non-english words and i'm sorry, still working on it
;)

Thanks a lot in advance for your answers/feedback...
Sep 14 '06 #4
hummm perhaps my approch is wrong...
As I was seeing things, the authentificatio n object was on the server
and shared with all the clients. Les emulate the object:
w'ell say there will be two methods:

int Authentificate( string login, string password);
int WhoAmI();

With the first one, called first, the client authentificate itself to
the server and get its uid back if its ok.

then later I want him to call WhoAmI without parameter, and the server
would be able to recognize the client (from its remote channel for
example, saved in the Authentificate( ) method, this is what I'm looking
for...) and would return its UID...

Is it more clear?
Jianwei Sun a écrit :
ba******@gmail. com wrote:
hi :) thanks for answering :)

Yes I do have an unique ID for each authentified user stored in a
database.
But when, after authentificatio n, one client calls a function in the
remote object, how can I identify which client is calling (there i
could ask for the client its uid but if so I need to add an uid
parameter to each function the client could call from the object...).
That's why I was wondering if the object, instencied on the server
side, could, itself, identify wich client is call the function. Perhpas
I am looking for an UID generated by the remote channel created by each
client?

[When you client is authenticated on the server side by
username/password, can you set the uniqueId to one property of the
client object.

I am not exactly sure what's your approach. But based on my experience
on a client/server communication (socket based) , when a remote client
is signed on, i immediately set all the properties for that client (
like client type, sign on time, etc ...), when the client is signing
off, I clear those properties.

]

Jianwei Sun a écrit :
ba******@gmail. com wrote:
Hi all,

before starting I must say that I'm a remoting beginner so I certainly
didn't assimilate all the tricks of remoting so please be kind ;)

Now here is my interrogation:
I'm working on a client/server architecture for a callcenter software.
The server is the only one connected to the oracle database and all the
different clients (operator/admin...) are "connected" to the server via
remoting (it's the best I've found to communicate between server and
clients, am I doing wrong?).

I've managed to call server-instancied objects, make some events fired
over the network... the basic things :)
Now I was wondering: I must identify all the clients requests to give
them the good informations as they will all share the same
server-instancied object. And I'd like not to pass an id with every
client request so is there a way that the server identify itself the
client (once the client has been authentified) ?
I'm not sure to be clear...
Let me give an example :) :
when the client authentificate with the server (with a login/password)
the server would keep something that could distinguish this client from
the other (that's what i'm looking for, perhaps an channl identifier?)
[Do you store the user in the database table? if that's the case, When
the user logged on, you can have identifier (like row id, unique id in
the table). Will that work for you??

Can you dynamically hash some value if you cannot use the above approach?

]

and when that client would call other methods on the server object, the
server will be able to identify the client to give it the good
stuff....

Hope somebody can understand :s

PS: perhaps i use non-english words and i'm sorry, still working on it
;)

Thanks a lot in advance for your answers/feedback...
Sep 14 '06 #5

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

Similar topics

2
1969
by: Dennis Owens | last post by:
I want to develop a Client/Server messaging system that does not require Microsoft messaging. I want to use the .Net remoting, but I am having some real problems with the remoting. The remoting really seems to be a one way street in terms of messaging. Ex.( The Client can communicate with the server and get information back from the server, but the server cannot make a call to the client unless you set up another remoting session were the...
0
1550
by: Dennis Owens | last post by:
Read below for previous conversation. We are developing an application that will some day run on anything from a computer down to a PDA (this is were the Lightweight comes in). The messaging that we want to send will be very straightforward. If one of the clients has changed some data, the other clients need to know about it. If the clients are not on line then the message may have to wait until they are on line. The messages
4
3118
by: Uchiha Jax | last post by:
Hello everyone, I am a plenty silly person who is trying to learn .NET remoting through trial and error (all articles I read are going over my head at the moment (mostly) so I thought i'd give it a go). What I want to do is this: Have a server instance of the program, this server instance will receive communication from client programs (as demonstrated in the AddMessage()
3
2087
by: S.Creek | last post by:
Hi, I am trying to build a multi clients application with C# that will send and receive messages using a listener on a server, the computers are all on the same LAN, the listener need to identify a message in the MS Queues he listens on, and send it to the relevant clients (not all need to get all messages) it can send the message through an event or an interface.?
4
5805
by: GTi | last post by:
I have a program that will act as an Remoting server AND client. This program can be loaded on one macine or it can be loaded on several machines. But it will only be one master program available, all the other is "clients" handling tasks. The master program will dellegate tasks. When the program starts it will ask if there is any "master" available on the network (a BROADCAST to all machines). If there is no master responds it will...
3
1715
by: Lucas Tam | last post by:
Does anyone have a good articles that describes the pros and cons of Web Services vs. Remoting Hosted in IIS? Is there a reason to use either or? With Remoting Hosting in IIS, is it possible to maintain a constant thread (i.e. thread that polls the database and sends messages back to client when a certain record is found?). Thanks.
1
2089
by: Thomee Wright | last post by:
I'm having a problem with a pair of applications I'm developing. I have a server application which interacts with several instruments, and a client app which connects to the server and provides a UI for interacting with the instruments. Readings from the instruments are periodically sent to the clients, and clients will send commands to the server based on user input. In normal usage there will be around 6 clients connected, with a...
6
2086
by: Palvinder Singh | last post by:
Hello google group peeps, I am new to remoting, but have a grasp of it. I am trying to create a server/client application, which will be deployed over an intranet. I have upwards of five clients that connect to a main server. The client application sets the state of several switchs (on/off by means of clicking a button). When a switch is turned on/off, its state is updated on the server, which will then raise an event to update...
2
3440
by: =?Utf-8?B?Q2hyaXN0aWFuIEhhdmVs?= | last post by:
Hi, in a existing application (DCOM server and client, both in VC++) we have very often problems with the DCOM-configuration. Is the requiered configuration (open ports) in applications using .NET remoting much more easier than in DCOM applications? What is with the performance, if the DCOM server has a .NET remoting object client and the DCOM client (VC++) uses the .NET remoting object as the server?
0
9579
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
9422
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
10038
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9987
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8867
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...
1
7404
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6662
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();...
1
3952
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
3
2812
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.