473,327 Members | 2,090 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

Send User Name and Password to the Intranet Site??

LeoTD
14
Dear all,
I have intranet site on Linux server using PHP where only people who have account can log in.
My site has a link to another intranet side on IIS using PHP. This site using Web authentication which IIS supported.
I want to deploy Single Sign On between them. It means when I login in PHP site, and click link to ASP site, i will login success in ASP site pass through authentication pop up windows. I am confused in the part where I have to send user name and password to open site in the browser without it asking for credentials in pop up window.

Can you help please??
Leo
Nov 12 '07 #1
2 2214
ak1dnar
1,584 Expert 1GB
Dear all,
I have intranet site on Linux server using PHP where only people who have account can log in.
My site has a link to another intranet side on IIS using PHP. This site using Web authentication which IIS supported.
I want to deploy Single Sign On between them. It means when I login in PHP site, and click link to ASP site, i will login success in ASP site pass through authentication pop up windows. I am confused in the part where I have to send user name and password to open site in the browser without it asking for credentials in pop up window.

Can you help please??

Leo
You'll have to post the code if you expect anyone to figure out what's wrong with it.
Nov 12 '07 #2
LeoTD
14
You'll have to post the code if you expect anyone to figure out what's wrong with it.
Dear ajaxrand,

I forgot give you my code. Sorry about that.
I try send username and pass through header but it not work. Here is my code:
Expand|Select|Wrap|Line Numbers
  1.  $auth=base64_encode($user.":".$pass);
  2.  $action = 'https://www.asp.com/index.asp'; 
  3.  header("Authorization: Basic $auth\r\n\r\n");
  4.  header("Location:".$action);
  5.  
If you have another solution please show me.
Thanks,
Leo
Nov 12 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

13
by: joltman | last post by:
We're working on an intranet site where we will require user's to only be able to access their own page in some instances. Rather than introducing another password to the mix, we were thinking...
7
by: NewbieJon | last post by:
I am attempting to send the variable "sComputerName" from my ActiveX script to "GetInfo.asp" using javascript. (Having been advised this is the way to get my ActiveX variable into my ASP script) ...
1
by: jach | last post by:
How can I get the domain, username and PC network name (Win 2000 Pro & Win XP Pro PC's) of the current logged on user (logged onto a domain and access an intranet page, Window 2000 server running...
8
by: Joe | last post by:
I check for the NTLogin of a user by Page.User.Identity.Name, but when I put the app on the server the value for Page.User.Identity.Name is "" I had the <allow users="*/> attribute commented...
2
by: Dan Sikorsky | last post by:
I want to bypass requiring the intranet domain user to type in a username and password when coming to my website, even the very first time. If it's the first time I do a Membership.CreatUser...
8
by: shapper | last post by:
Hello, I am trying to send an email using Asp.Net 2.0. I am getting the following error: System.Net.Mail.SmtpFailedRecipientException: Mailbox unavailable. The server response was: No such...
4
by: three-eight-hotel | last post by:
I'm somewhat of a newbie to PHP coding, but have developed a site using the technology, and have been pleasantly surprised by the capabilities offered. I am more comfortable in the ASP world,...
1
by: chaitanya02 | last post by:
Hi All, Well- this question might have appeared several times on this forum- but would appreciate your reply on this: I have a asp page, where customers login with some username and the pwd,...
1
by: groupie | last post by:
Hi, I'd like to know how to implement the "Forgot Password" feature on many websites which require a login, exactly like this ebay example:...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.