Hi all
I have the following code:
[AjaxPro.AjaxMethod(HttpSessionStateRequirement.ReadWrite)]
public void writeData(string newValue)
{
Session["key1"] = newValue;
}
[AjaxPro.AjaxMethod(HttpSessionStateRequirement.ReadWrite)]
public string readData(string dummyParameter)
{
string result = "not yet set";
if (Session["key1"] != null)
{
result = (string)Session["key1"];
}
return result;
}
If in my web.config i have
<sessionState cookieless="true" timeout="20" />
this ajax doesnt work.
However if I have:
<sessionState cookieless="false" timeout="20" />
then this is fine. It all works!
Any body know how to get this to work?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---