Solved

Network credentials

Posted on 2004-09-21
4
336 Views
Last Modified: 2012-05-05
I have a pop up window which loads the exchange add new appointment window, however when this loads it requires a username and password.

Is there anyway to pass across the username and password to save the user entering these.

This is the code i use to load the pop up

function addappointment()
{
var username = document.getElementById("username").value;
var pagelink = 'http://192.168.0.14/exchange/' + username + '/Calendar/?Cmd=new';

newwindow=window.open(pagelink,'name','height=600,width=600,resizable=yes,scrollbars=yes,toolbar=no,status=yes');
      if (window.focus) {newwindow.focus()}

}


Thanks
0
Comment
Question by:wibblewobble10
  • 2
  • 2
4 Comments
 
LVL 63

Expert Comment

by:Zvonko
ID: 12111244
Not tested but worth a try:

function addappointment(){
   var username = document.getElementById("username").value;
   var pwd = "topsecret";
   var pagelink = 'http://"+username+":"+pwd+"@192.168.0.14/exchange/' + username + '/Calendar/?Cmd=new';

   newwindow=window.open(pagelink,'name','height=600,width=600,resizable=yes,scrollbars=yes,status=yes');
   newwindow.focus()
}


0
 

Author Comment

by:wibblewobble10
ID: 12111269
Unfortunately that does not work, that was something i tried first.

Thanks for your attempt
0
 
LVL 63

Accepted Solution

by:
Zvonko earned 300 total points
ID: 12111493
Perhaps is a good idea to post also a twenty points reference to this question in the Exchange topic area:
http://oldlook.experts-exchange.com:8080/Networking/Email_Groupware/Exchange_Server/

0
 

Author Comment

by:wibblewobble10
ID: 12120957
Apparently this feature of inserting the username and password into the query string has been disabled by microsoft on IE5 and above, has anyone got any suggestions

Thanks
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now