<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Although this was true, it did not help as I still need to know
where to look in the database to verify if the session is still
active. I have not looked further into this issue at the moment so
will need to do that in the future, if anyone knows where this
information is stored that would be beneficial to me.<br>
<br>
Thanks<br>
<br>
On 14/09/11 09:41, Nicolas Larcipretti wrote:
<blockquote
cite="mid:CAK10WeD4kysN8PO1+dPRDJ65hGXn+zXh7xZpyEeJJT5F8fXb0A@mail.gmail.com"
type="cite">Did that help? Please, let me know if it did ;)
<div><br>
</div>
<div>Cheers</div>
<div><br>
</div>
<div>Nicolas<br>
<br>
<div class="gmail_quote">2011/9/5 Nicolas Larcipretti <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:niclarcipretti@gmail.com">niclarcipretti@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">Hi,
<div><br>
</div>
<div>You could capture the user session ($_SESSION) and use
the "authenticated_user_id" attribute, that is the userid
from the logged in user. </div>
<div><br>
</div>
<div>Hope this helps you.</div>
<div><br>
</div>
<div>Cheers</div>
<div><br>
</div>
<div><font color="#888888">Nicolas</font>
<div>
<div class="h5"><br>
<br>
<div class="gmail_quote">2011/9/5 Richard Hills -
TechnologyWise <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:richard@tw.co.nz" target="_blank">richard@tw.co.nz</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt
0pt 0pt 0.8ex; border-left: 1px solid rgb(204,
204, 204); padding-left: 1ex;">I am developing a
script which sits on the same webserver as our
vtiger<br>
installation and needs to look at the logged in
vtiger user data, can<br>
someone please give me a quick example of how this
is best done?<br>
<br>
All I need to know from vtiger is the userid which
the user is currently<br>
logged in as, the rest I will do with direct
database queries rather<br>
than using a vtiger specific API.<br>
<br>
Thank you.<br>
<br>
--<br>
Richard Hills<br>
TechnologyWise Ltd, Tauranga, NZ<br>
<a moz-do-not-send="true"
href="mailto:richard@tw.co.nz" target="_blank">richard@tw.co.nz</a><br>
<a moz-do-not-send="true"
href="http://www.technologywise.co.nz"
target="_blank">www.technologywise.co.nz</a><br>
ph: <a moz-do-not-send="true"
href="tel:%2B64%20%280%297%20571%201060"
value="+6475711060" target="_blank">+64 (0)7 571
1060</a><br>
fax: <a moz-do-not-send="true"
href="tel:%2B64%20%280%297%20571%201061"
value="+6475711061" target="_blank">+64 (0)7 571
1061</a><br>
<br>
_______________________________________________<br>
<a moz-do-not-send="true"
href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
<a class="moz-txt-link-freetext" href="http://www.vtiger.com/">http://www.vtiger.com/</a></pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Richard Hills
TechnologyWise Ltd, Tauranga, NZ
<a class="moz-txt-link-abbreviated" href="mailto:richard@tw.co.nz">richard@tw.co.nz</a>
<a class="moz-txt-link-abbreviated" href="http://www.technologywise.co.nz">www.technologywise.co.nz</a>
ph: +64 (0)7 571 1060
fax: +64 (0)7 571 1061</pre>
</body>
</html>