[THIN] Re: OT:Question from a old member

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

not sure....I could look into that, would this variable transfer accross
domain???
i so ....that would be an good option...
 
it's kinda hard to explain with drawing......I'll try to make a drawing of
what I want......and put it online....
 
thanks
 

grz

rob

 

  _____  

Van: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] Namens Joe
Shonk
Verzonden: woensdag 20 april 2005 21:52
Aan: thin@xxxxxxxxxxxxx
Onderwerp: [THIN] Re: OT:Question from a old member



I'm not quite sure I follow, but could you create a session variable that
holds the required information?

 

Joe

 

  _____  

From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf
Of Rob Beekmans
Sent: Wednesday, April 20, 2005 12:36 PM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] OT:Question from a old member

 

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: