Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Session in WebService with ASP.NET -Visual Studio 2005 Beta 1 - Please Help

Reply
Thread Tools

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

 
 
Juan Irigoyen
Guest
Posts: n/a
 
      09-02-2004

De: "Juan Irigoyen" <(E-Mail Removed)>
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;
}




 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Visual Studio 2005/.Net Framework 2.0 Certifications - Beta Offer Vishal R Joshi [MSFT] Microsoft Certification 1 03-10-2006 12:02 PM
Registering SQL Server 2005 Beta 2 with ASP .Net 2.0 Beta 2 Pavan ASP .Net Security 1 07-14-2005 10:43 AM
Object class in ASP.NET (Visual Studio 2005 Beta 1) Juan Irigoyen ASP .Net 0 09-07-2004 09:54 AM
RE: Session in WebService with ASP.NET -Visual Studio 2005 Beta 1 - Pl Juan Irigoyen ASP .Net 0 09-02-2004 01:41 PM



Advertisments