Well if you're willing to work for it, you can get the LoginGUID using the 
following RQL (there are several other ways as well):

<IODATA user="[!current_user_login_name!]" 
loginguid="[!guid_login!]"><ADMINISTRATION><USERS action="connectlist" 
userguid="[!user_to_query_user_guid!]"/></ADMINISTRATION></IODATA>

As for session GUID - I've never seen how to query this directly. Were I 
tackling the problem, I would add template code that displayed in SmartEdit 
only which makes an AJAX call and stores the user guid, project guid and 
session key triplet in an external database. This is definitely a hack though.

Just remember that session key is project specific and it's possible for a user 
to have more than one session.

Chad Killingsworth
Assistant Director of Web & New Media
Missouri State University


-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of TonyGayter
Sent: Monday, December 14, 2009 10:35 AM
To: RedDot CMS Users
Subject: Re: RQL Commands

Hmmm, I had forgotton that, Surely they store it somewhere though?
This is goin got drive me nuts.

On Dec 14, 4:29 pm, "Killingsworth, Chad A"
<[email protected]> wrote:
> Login GUIDS and Session GUIDs are stored in ASP Session variables.
>
> Now for the fun part where you realize that since ASP.Net and ASP do not 
> share the same session objects - you have a tricky problem.
>
> Chad Killingsworth
> Assistant Director of Web & New Media
> Missouri State University
>
>
>
> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of tonyg
> Sent: Monday, December 14, 2009 8:39 AM
> To: RedDot CMS Users
> Subject: RQL Commands
>
> Im currectly writing a .net wrapper for RQL and after the first
> iteration have hit a small problem.
>
> If I use RQL to login I get the XML response, all well and good as it
> has the session and login guids etc. However; how do I get these guids
> for a user that has already logged in?
>
> I cant find the the way to get login guids in the RQL manual, I know
> you can log people out using rql but to do this you still need the
> login guid!! There must be a way to either log a user off using
> username or a way to get the guids for a currently logged in user?
> Surely?
>
> Thanks in advance
> Tony
>
> --
>
> 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 
> athttp://groups.google.com/group/reddot-cms-users?hl=en.- Hide quoted text -
>
> - Show quoted text -

--

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.


--

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