First do this:

<IODATA>
  <ADMINISTRATION action="login" name="user_name" password="pw"/>
</IODATA>

Then use the login guid you get in the following to generate the
session key:

<IODATA loginguid="[!guid_login!]">
  <ADMINISTRATION action="validate" guid="[!guid_login!]"
   useragent="script">
    <PROJECT guid="[!guid_project!]"/>
  </ADMINISTRATION>
</IODATA>

Not ideal since you have to record a user and pwd in the plugin or
template, but it'll get the job done.



On Jul 9, 9:16 am, DTMOW <[email protected]> wrote:
> So I am a long time CMS guy but new to RQL and couldn't find this info
> anywhere.
>
> I need to run a bit ofRQLl to generate a list of all the categories
> then get the keywords from those categories and inject them into my
> html.
>
> I understand that there is an xml parser included that you call by
> creating an object. I set all this up and it works fine when I preview
> my code in CMS, but fails on publish.
>
> I started debugging and upon simplifying all the code was able to get
> this error:
>
> "Errors occured: LoginGuid and SessionKey missing"
>
> Obviously I have my placeholders with the session objects in my code
> since it works in CMS...
>
> Anyone know how to deal with this? Can I even publish the results of
> an RQL query or can it only exist in reddot/ preview mode?
>
> Thanks in advance for any insight.
>
> - Dmitry

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" 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/reddot-cms-users?hl=en.

Reply via email to