473,406 Members | 2,847 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,406 software developers and data experts.

Session in WebService with ASP.NET -Visual Studio 2005 Beta 1 - Please Help


De: "Juan Irigoyen" <ju***********@hotmail.com>
Asunto: Session in WebService with ASP.NET - Please Help
Fecha: miércoles, 01 de septiembre de 2004 13:33

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

<sessionState mode="InProc" cookieless="false or true"
timeout="20"></sessionState>
[WebMethod(EnableSession = true)]
public int GestionTicket Inicio()
{
Session.Add("SesionNivel", 1);
Session.Add("SesionTipo", "a");
Session.Add("SesionAccesos", 0);
return 1;
}


Nov 18 '05 #1
0 1027

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

Similar topics

2
by: Scott Vercuski | last post by:
Hello all, I've got a question about session state. Is it possible to declare and load a session into a session object from the sql server database. Here's the scenario ... I've got a...
0
by: Wardeaux | last post by:
I want to be able to pass information from one session to another... here's the situation: I have a web app with session variables like "user authenticated". I want to invoke a webservice through...
5
by: bluewind44 | last post by:
Hello, all. Is there any case that session vaiables expire before the time-out? Now, I'm developing the UI project that use the webservice project. Ocationally I met the situation that I...
9
by: mekim | last post by:
Hi All, I have a solution that has a asp.net app project and webservice project in it When I debug the asp.net app...and then terminate it...the webservice is still live...and aspnet_wp.exe is...
1
by: Monster | last post by:
is it possible to manually create and destroy a session object in a webservice? My original client and server were done with SOAP in c++ (isapi dll and mfc/atl). I managed to write an intermediate...
2
by: Riga | last post by:
Hi guys, I'm making a webservice that will be used by a pocketpc app. I want to be able to keep an instance of some things (there are 2 collections and possibly a database connection). Is there...
1
by: ^MisterJingo^ | last post by:
Hi all, I have to build a webservice which allows users to login through it (using a ticket system). What I'm unsure on is does the server start a session for remote webservice requests? I ask...
2
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
by: ad | last post by:
I use VS2005 to develop asp.net program. I want to get a string from WebService in the Session_Start. But it often wasted a long time to get the msg. I want to new a Session in the application...
4
by: Redivivus | last post by:
Hi How can i access Sessionstate from another class? Lets say i have webservice where i define Session=1; In my webservice project i have a common class. How can i access Session from this...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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...
0
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,...
0
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...
0
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,...
0
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...
0
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,...

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.