Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Session in WebService with ASP.NET - Please Help

1 view
Skip to first unread message

Juan Irigoyen

unread,
Sep 1, 2004, 7:33:58 AM9/1/04
to
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" timeout="20"></sessionState>


[WebMethod(EnableSession = true)]
public int GestionTicket Inicio()
{
Session.Add("SesionNivel", 1);
Session.Add("SesionTipo", "a");
Session.Add("SesionAccesos", 0);
return 1;
}

0 new messages