nicenboim / dropthings

Automatically exported from code.google.com/p/dropthings
0 stars 0 forks source link

Widget positions not saved after drag and drop #215

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Deploy the website to a secure environment (i.e. using SSL)
2. Drag and drop a few widgets and note their new positions.
3. Navigate to another tab and then return back to the original tab.
4. The widgets revert back to the original positions before the "Drag and drop" 
operation from Step No. 2

What is the expected output? What do you see instead?
The widgets should remain in their new positions after they have been dragged 
and dropped.

What version of the product are you using? On what operating system?
Dropthings 2.7.5, the OS for Web Server is Windows 2003 server

Please provide any additional information below.

i have previously deployed the website to a non secure environment (i.e. not 
using SSL) and the widgets drag and drop
worked perfectly. So then I deployed the same website to a secure environment 
and then the drag and drop issue described
above started to appear.

Original issue reported on code.google.com by chue...@gmail.com on 12 Jul 2011 at 12:28

GoogleCodeExporter commented 9 years ago
This is not a bug after all.  I apologize for the confusion, I wish there is a 
forum where I can just post question, maybe somebody already got a solution.

In any case, I did find my solution after some more debugging. I figured out 
that if HTTPS is being used instead of HTTP, the default "bindingConfiguration" 
for each of the Webservices inside the web.config file will NOT work.  

So I made the following change to the "bindingConfiguration" for all THREE of 
the webservices (Proxy,Page and Widget):

Before
   <endpoint address="" behaviorConfiguration="webHttpEnablingBehaviour"
          binding="webHttpBinding" bindingConfiguration="default"     contract="Dropthings.RestApi.IProxyService" /> 

After
  <endpoint address="" behaviorConfiguration="webHttpEnablingBehaviour"
          binding="webHttpBinding" bindingConfiguration="secureBinding"  contract="Dropthings.RestApi.IProxyService" /> 

I have added a new binding element called "secureBinding"  to the bindings node 
as per below:
 <bindings>
      <webHttpBinding>
        <binding name="secureBinding" allowCookies="true">
          <security mode="Transport" />
        </binding>
      </webHttpBinding>
      <wsHttpBinding>
        <binding name="default" allowCookies="true" ></binding>
      </wsHttpBinding>
      <basicHttpBinding>
        <binding name="default" allowCookies="true"></binding>
      </basicHttpBinding>
 </bindings>

Original comment by chue...@gmail.com on 13 Jul 2011 at 8:05

GoogleCodeExporter commented 9 years ago

Original comment by omaralzabir@gmail.com on 22 Mar 2012 at 1:56