tamanaco;417471 Wrote: 
> Ok, installed today's SC7.4 build,reinstalled the plugin and rebooted
> the server... now the "Suspend" option of SCpowerTool is working as
> expected. 
> 
> Now I have a "cosmetic" issue... no big deal as I rarely use the Web UI
> to put the server in standby mode.  When I click the Suspend and Switch
> to SN option from the Web UI I get a strange message in the left side
> panel (see pic) after the SB3 switches to SN and the server goes into
> standby. This does not happen when I suspend and switch to SN from my
> SB3 while the Web UI is still connected to the SC.
This is the same general issue that Phill is reporting.  I don't know
if this is a 7.4 specific thing, a browser cache thing, or what.  I saw
this only once with 7.3.3. while I was developing the web UI bits.

Basically, what SrvrPowerCtrl is doing with these web pages is to set a
meta refresh tag in the html head portion of the web page...setting both
the refresh time and the "refresh to" url.  For some reason, the CSRF
protection code in SqueezeCenter is intercepting this refresh request
and interpreting it as having come from "outside" the SC sanctioned
browser session.  I have no understanding as to why this should be.  If
you right-click on any of the SrvrPowerCtrl pages and select "open frame
in a new window" (this works using Google Chrome) and then refresh the
page, you'll immediately spook the CRSF protection code.  This is, I
think, as it should be.

Anyway, after I fiddled with the code during the development process, I
got this behavior to go away with 7.3.3.  I'll try to experiment with
7.4 once I get back home in a week.


-- 
gharris999
------------------------------------------------------------------------
gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115
View this thread: http://forums.slimdevices.com/showthread.php?t=48521

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to