473,698 Members | 2,183 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Urgent!! regarding Session management in Webservice

hi
I wanted to know whether we can store something in Session objects in
webservice.My windows application calls the webservice and i want the
data to be stored in Session object so that each user can get its own
data.Is this possible in webservice?coz i think it seems to lose the
data each time i call the webservice

Plz help me in this matter.Its urgent!!!

*-----------------------*
Posted at:
www.GroupSrv.com
*-----------------------*
Nov 18 '05 #1
1 1157
Hi Sunnyz,

Are you applying the [WebMethod(Enabl eSession=true)] to the web method from
where you want to use session?

--
Victor Garcia Aprea
Microsoft MVP | ASP.NET
Looking for insights on ASP.NET? Read my blog:
http://clariusconsulting.net/vga
My profile: http://aspnet2.com/mvp.ashx?vga
"sunnyz" <su****@lycos-dot-com.no-spam.invalid> wrote in message
news:41******** **@Usenet.com.. .
hi
I wanted to know whether we can store something in Session objects in
webservice.My windows application calls the webservice and i want the
data to be stored in Session object so that each user can get its own
data.Is this possible in webservice?coz i think it seems to lose the
data each time i call the webservice

Plz help me in this matter.Its urgent!!!

*-----------------------*
Posted at:
www.GroupSrv.com
*-----------------------*

Nov 18 '05 #2

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

Similar topics

3
3632
by: Jeff | last post by:
We're running a fairly busy and complex e-commerce website. It's an online retailer. We utilize MySQL for most of our site-based dynamic data, and then we use Oracle to access inventory and place orders. We have two seperate machines for database and web application (reasonably powerful dual xeon 3ghz machines, 6gb ram each). We're running Apache 1.3.28 with PHP 4.3.3, mod_ssl 2.8.15 and OpenSSL 0.9.6b. We are running MySQL 4.0.16 as our...
3
1414
by: sunnyz | last post by:
hi I wanted to know whether we can store something in Session objects in webservice.My windows application calls the webservice and i want the data to be stored in Session object so that each user can get its own data.Is this possible in webservice?coz i think it seems to lose the data each time i call the webservice Plz help me in this matter.Its urgent!!! *-----------------------*
0
1039
by: Juan Irigoyen | last post by:
De: "Juan Irigoyen" <juan_irigoyen@hotmail.com> Asunto: Session in WebService with ASP.NET - Please Help Fecha: miércoles, 01 de septiembre de 2004 13:34 I have a page asp that call the webmethod, this make the variable of session but when the webmethod return the values stored in webmethod lost. In the web.config have the next code
5
2449
by: Abhilash.k.m | last post by:
This is regarding the session management using Out of proc session management(SQL SERVER). Among the samples below which one is better to set the session? 1. There are 20 session variables and all of them are being stored into session and accessed from session and individual session object. Example: Session = "XYZ", Session=100, Session="NAME", etc.
3
1564
by: vikram | last post by:
I am using below mention code in a web usercontrol for session management for hastable objects. Code works sometime and sometime it doesnt work. Is there some problme in code: Private Sub SaveState() Session.Item(Me.ID & "cols") = ColumnsListHashTable Session.Item(Me.ID & "status") = StatusHashTable End Sub
1
2797
by: trialproduct2004 | last post by:
Hi all, I am having slight confusion regarding memory management in .net. Say suppose i have two application one is in C# and other is in MFC(VC++). Both of this application are using lots of memory. Suppose i run first C# application which has occupied all memory and
1
2949
by: ReinaldoCL | last post by:
Hello, I'm looking for a posibility to use session objects or cookies in a C# program on Pocket PC, that use a web service method with session enabled property. But the .NET Compact Framework doesn't support session objects and cookies. I're very pleased for an idea about how to implement this, Reinaldo.
2
1125
by: ad | last post by:
I add an WebService (.asmx) in a WebApplication. I have a line : Session= "This is a Test"; but it always fail in run time. Can I use Session in WebService?
2
2667
by: satisharas | last post by:
Hello, I am trying to write a custom session manager in ASP.NET 2.0 using oracle as the backend. I want to know how the session expires in web garden and we are using NLB (a session can be served by the multiple web servers) Following are few points: 1. How to cleanup session data on Oracle table (on which event need to
0
8674
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
8603
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
9157
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
7721
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
5860
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
4366
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
4615
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3045
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
1999
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.