[THIN] OT:Question from a old member

  • From: "Rob Beekmans" <RobBeekmans@xxxxxxxxxxxxx>
  • To: <thin@xxxxxxxxxxxxx>
  • Date: Wed, 20 Apr 2005 21:36:22 +0200

Hi guys,

Everytime I have a question like I have now, I'm looking towards this
list..even though the question might no be related to Citrix..this stays the
best place.

But enough about that, you all know how I think about this list...

I had a question I think some of you might be experts in, and I'm not

I have a .asp page that is meant for automatic login on an intranet, like
this

<%
 Dim UsrDom
 Set UsrDom = Request.ServerVariables("LOGON_USER")
%>
User found: <b><%=UsrDom%></b> <br>
</p>
<FORM METHOD="post" NAME="login"
ACTION="http://[SERVERNAME]/pfnr/pfnr.dll/login";>
<INPUT TYPE="hidden" NAME="SId" VALUE="[SITEID]">
<INPUT TYPE="hidden" NAME="TABLENAME" VALUE="PERS">
<INPUT TYPE="hidden" NAME="FO_USERNAME" VALUE="<%=UsrDom%>">
<INPUT TYPE="hidden" NAME="FO_PASSWORD" VALUE="">
</FORM>

<SCRIPT language="JavaScript">
  document.login.submit();
</SCRIPT>


Now of course I was looking for extending functionality from an intranet
site to an internet site.

The users on the internet will log on before they reach the .asp page the
database behind the second login page checks if the FO_UID can be matched to
a BO_UID in the system (the system has double UID fields , connected, one
for backoffice and one for frontoffice use.)
Not all users allowed to the front office (intranet site to book lunch,
carparks, meetings etc) are allowed in the backoffice program.

I could make it that the first login creates a cookie, but you can't read
cookies from foreign domains...as far as I know..

I hope someone has an idea on how to make sure the FO_UID can be read from a
foreign cookie or some way else...I really can't think of anything simple..
I'm no ASP expert..as you know by now..hope anyone can point me in the right
direction...I can test and edit and will go work with any idea anyone has.

Hope this braindump is readable and understandable...

Thanks for any help

Greetings
Rob


Ei ei ei, we zijn zo blij, de E-mail is veilig en dat vieren wij, ei ei.
Message checked by AVG, no virusses found in this message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.10.0 - Release Date: 20-04-2005

Other related posts: