473,382 Members | 1,423 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,382 software developers and data experts.

WEB Service ...session ... connection

Hello every body:

I am not an ASP guru though my questtion may look stupid, i want to have a
SQL connection in a web service that is used in a windows application (Web
Service)... to be working during the session ie that the user will have an
open connection with the database via the web service as long as he is
connected ie i don't have to open the connection each time the user is
connected
thanks and REGARDS
--
Mirror Mirror On The Wall Who Is The Master Of Them ALL
Nov 23 '05 #1
3 1180
hB
then better create two more functions in your webservice;
Login
Logout
and open the connection in login, and close it in logout. (and keep
connection open for that logged in user id - [session])
Open the connection with some configurable timeout.

---
hB

Nov 23 '05 #2
that it is cool but where to save the connection object
--
Mirror Mirror On The Wall Who Is The Master Of Them ALL
"hB" wrote:
then better create two more functions in your webservice;
Login
Logout
and open the connection in login, and close it in logout. (and keep
connection open for that logged in user id - [session])
Open the connection with some configurable timeout.

---
hB

Nov 23 '05 #3
hB
some cache.

Nov 23 '05 #4

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

Similar topics

1
by: TM | last post by:
My problem is a bit difficult to explain, having a relatively limited knowledge of .NET/C#, but please see if you can read between the lines. I have an ASPX that, on load, initiates a call to a...
1
by: JDF | last post by:
I am fairly new to python and seem to have gotten ahead of myself. I am trying to write a Windows service that will return the current number of Citrix sessions to a client. This service will run...
8
by: FS Liu | last post by:
Hi, I am writing ATL Service application (XML Web service) in VS.NET C++. Are there any sample programs that accept XML as input and XML as output in the web service? Thank you very much.
0
by: Archimedes | last post by:
I've searched google and these newsgroups but not been able to find anyone who has answered this - Is it possible to install and run the session service on the web server itself, enable...
8
by: Manfred Braun | last post by:
Hello All! I am writing a management application, which has to access remote machines registry via System.Diagnostics.EventLog.CreateEventSource . For each machine, I connect to, I create a...
3
by: Hans Merkl | last post by:
Hi, I am helping to build a web app that's pretty much a wrapper around a web service. The question now is how to store the handle of the web service object between requests. My client is using...
2
by: Max | last post by:
Hi, I am helping to build a web app that's pretty much a wrapper around a web service. The question now is how to store the handle of the web service object between requests. My client is using...
2
by: Richard Collette | last post by:
Hi, I have a service, that runs perfectly when executed outside of the web service environment. When called as a web service I get the exception listed below sporadically. A call to the web...
2
by: Scott | last post by:
My asp app on one site calls my .net webservice on another. Problem is that IE always displays contacting other site error. Any idea how to supress this error from server or browser ? thanks...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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...

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.