hello Chris
Thanks for your reply.
I am substituting
[AjaxPro.AjaxMethod(HttpSessionRequirement.ReadWrite)]
for
[AjaxPro.AjaxMethod]
and I still get an error.
It says that "HttpSessionRequirement.ReadWrite" does not exist in the
current context.
ths assignment also fails:
HttpContext.Current.Session.["UserId"] = "12";
Am I missing a "using" or a Reference??
Thanks again for your help
walt
Christian Hubinger wrote:
> [EMAIL PROTECTED] wrote:
> > Session["Client_Id"] = ClientId.ToString();
> >
> > This fails in a function with
> > [AjaxPro.AjaxMethod]
>
> Use the full name HttpContext.Current.Session[..]
> and add tell the method to allow session access using
> [AjaxPro.AjaxMethod(HttpSessionRequirement.ReadWrite)]
>
> greetings,
> chris
> www.borgworx.net
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ajax.NET Professional" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/ajaxpro
The latest downloads of Ajax.NET Professional can be found at
http://www.ajaxpro.info/
Don't forget to read my blog at http://weblogs.asp.net/mschwarz/
-~----------~----~----~----~------~----~------~--~---