Solved

Network credentials

Posted on 2004-09-21
4
335 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

In my daily work (mainly using ASP.net), I need to write a lot of JavaScript code. One of the most repetitive tasks I do are the jQuery Ajax calls. You know: (CODE) I don't know if for you it's the same, but for me is soooo tedious to write the …
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
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…

759 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

21 Experts available now in Live!

Get 1:1 Help Now