If you are launching the script from a RedDot page that you are
currently logged into, all the login information is stored inside ASP
session variables. So, you can basically just read those session
variables to get the current login information. For example:
Dim sLogin
Dim sSession
sLogin = Session("LoginGuid")
sSession = Session("SessionKey")
That works well for me and I don't have to deal with figuring out
whether or not a user is already logged in when running the RQL.
For the scripts that I did need the login for, I just ignored the
error I received that said the user was logged in already. I could
then retrieve the session key and continue.
On Jan 2, 5:29 am, Kareem <[email protected]> wrote:
> I'm using the RQL webservice to login and query RedDot. The problem I
> have is when a user attempts to login but already have a session in
> RD.
> I get an RDError101. I would like to present the user with an option
> to logout the other session and login anyways.
>
> Its mentioned here that the existing login guid is retrievable, but I
> can't figure out
> how.http://groups.google.com/group/RedDot-CMS-Users/msg/4fb33dca64453ad1
>
> The RDError101 is thrown in a SoapException. I don't actually get an
> xml response from the webserver.
>
> Does anyone know how to retrieve the existing login guid in this
> scenario?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---