cookieless with [System.Web.Services.WebMethodAttribute(),System.Web.Script.Services.ScriptMethodAttribute()]
<p>I have a function which is is a Web Services as the following:</p>

<pre><code>    [System.Web.Services.WebMethodAttribute(),System.Web.Script.Services.ScriptMethodAttribute()]
    public static string GetDynamicContent(string contextKey)
    {
        //Return a string value base on from the Database
    }
</code></pre>

<p>In my GridView I have the following PopupControlExtender:</p>

<pre><code>                                        &lt;asp:PopupControlExtender ID="PopupControlExtender1" runat="server"
                                           PopupControlID="Panel1"
                                           TargetControlID="Image1"
                                           DynamicContextKey='&lt;%# Eval("ID") %&gt;'
                                           DynamicControlID="Panel1"
                                           DynamicServiceMethod="GetDynamicContent" Position="Bottom"&gt;
                                        &lt;/asp:PopupControlExtender&gt;
</code></pre>

<p>Before working perfectly, get the pop up strings</p>

<p>However, it stop works, when I changed the Web Config which is adding the following code:</p>

<pre><code>&lt;sessionState mode="InProc"
              cookieless="true"
              timeout="20"/&gt;
</code></pre>

<p>which means I will not use cookies(session) instead of using queryString. It made some thing else work good, but the above function is not working and return the Web Service 401 Error. </p>

<p>any body know what's going and how to make it work with the cookies is set to be true?</p>

<p>Thanks,T</p>
