User:Dzonatas Sol/SNOW-375 WGET
< User:Dzonatas Sol
Jump to navigation
Jump to search
Revision as of 18:09, 17 March 2010 by Dzonatas Sol (talk | contribs) (Created page with '400px|right Please feel free to update this page as needed. This page demonstrates a few methods to access the viewer data via the SNOW-375 patc...')
Please feel free to update this page as needed.
This page demonstrates a few methods to access the viewer data via the SNOW-375 patch. This is how client-side scripts can access the data, too. We use wget as a unix shell script example.
Use WGET to access viewer data with SNOW-375
Once you have the viewer compiled and started, go ahead and login.
- Access the "Advanced" menu
- Select "Debug Settings"
- Type in "InterfaceVerifySessionCookie"
- Make sure the settings is "false"
- Close the popup.
Once you do the above, you have disabled the session cookie. The session cookie acted as a basic security means to control connections to only allow a single session between the viewer and the script. We disabled it to make this demonstration easier.
At the shell script, you can now type:
- $ wget -nv -O- http://localhost:50140/ControlGroup
And the response should give you an LLSD output of the available variable control groups:
<llsd><array><string>SavedSettings</string><string>SavedPerAccountSettings</string></array></llsd>