is this working for you? i do have same issue, Can yo help me with code i
am on MS server 10.1
On Thursday, January 22, 2009 2:35:23 PM UTC-6, Mike Searles - AtlRugger
wrote:
>
> Ok - frustration is setting in.....here is my code thus far:
>
> <!IoRangePreExecute>
> <%
> dim objData
> dim rqlRequest
> dim rqlResponse
> dim sErrors
> dim connectedto
> dim nfoLogin_Guid
> dim session_key
> dim intPageID
>
> %>
>
> <% function sendXML (rqlRequest)
> set objData = server.CreateObject
> ("RDCMSASP.RdPageData")
>
> objData.XmlServerClassName="RDCMSServer.XmlServer"
> sendXML = objData.ServerExecuteXml(rqlRequest,
> sErrors)
> if sErrors <> "" then
> response.write "Errors occured: " &
> sErrors & chr(13)
> end if
> 'objData = NULL
> end function %>
>
>
> <% rqlRequest = "<IODATA><ADMINISTRATION
> action=""login"" name=""RQLSystemAccount"" password=""password""/></
> IODATA>"
> rqlResponse = sendXML(rqlRequest) %>
>
> <% Set xmlDoc = server.CreateObject
> ("Msxml2.DOMDocument.4.0") %>
>
> <% xmlDoc.loadXML(rqlResponse) %>
>
> <% Set subRDxmlNodeList = xmlDoc.getElementsByTagName
> ("LOGIN") %>
>
> <% nfoLogin_Guid = subRDxmlNodeList.item.getAttribute
> ("guid") %> **This seems to be the line causing the
> problem**
>
> <!/IoRangePreExecute>
>
> <rqlloginguid><!IoRangePreExecute><% =nfoLogin_Guid %><!/
> IoRangePreExecute></rqlloginguid>
>
> I'm just trying to display the LOGIN GUID in the XML line above so I
> know it's working properly.....
>
> There is no block marks except PreExecute....can anyone see any reason
> why this isn't working...I've been trying to do this as much as
> possible on my own - but ready to give up....god help me when I
> actually need to write back to the database in the near future.
>
> Thanks! Mike.
>
>
> On Jan 15, 9:12 am, El Pollo Loco <[email protected]> wrote:
> > Mike,
> >
> > Just remember to not PreExecute a Write/Update RQL, as this will cause
> > problems. What happens is when content is updated, the page cache
> > needs to be updated to reflect the content update. The problem is that
> > the PageBuilder has to wait for the cache to be updated, but it cannot
> > update because it is stuck in the PreExecute step.
> >
> > On Jan 13, 2:40 pm, Keith <[email protected]> wrote:
> >
> >
> >
> > > > I have an info element setup for the SessionKey - that worked on
> other
> > > > occassions but not necessarily this one for some reason. Is it
> because it's
> > > > actually publishing?
> >
> > > During publishing, there is no active session for running RQL, so that
> > > placeholder will be empty. To run RQL during publishing you must first
> > > programmatically login and get the session. This requires a user you
> > > can use with the necessary access rights to the project in question,
> > > and some extra RQL calls to handle the login.
> >
> > > Login is done with: <IODATA><ADMINISTRATION action="login" name="user"
> > > password="password"/></IODATA>
> >
> > > And then getting the session key: <IODATA
> > > loginguid="3E8711BCE0114CFCA527C916F63DC4BF"><ADMINISTRATION
> > > action="validate" guid="3E8711BCE0114CFCA527C916F63DC4BF"><PROJECT
> > > guid="3CFC69384E5611D4BDAA004005312B7C" /></ADMINISTRATION></IODATA>
> >
> > > This is in the RQL 7.5 documentation under "Authorization for
> > > Executing RQL" -> "Logon to the RedDot Server via RQL", which includes
> > > info on the return values you'll get from those calls.
> >
> > > - Keith- Hide quoted text -
> >
> > - Show quoted text -
--
You received this message because you are subscribed to the Google Groups
"RedDot CMS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/reddot-cms-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.