Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / August 2005

Tip: Looking for answers? Try searching our database.

WEB Service ...session ... connection

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Rani - 06 Aug 2005 10:40 GMT
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
Signature

Mirror Mirror On The Wall Who Is The Master Of Them ALL

hB - 10 Aug 2005 22:01 GMT
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
Rani - 11 Aug 2005 01:48 GMT
that it is cool but where to save the connection object
Signature

Mirror Mirror On The Wall Who Is The Master Of Them ALL

> then better create two more functions in your webservice;
> Login
[quoted text clipped - 5 lines]
> ---
> hB
hB - 13 Aug 2005 13:46 GMT

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.