Solved

Network credentials

Posted on 2004-09-21
4
337 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 AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Suggested Solutions

Article by: DanRollins
This article describes a JavaScript program that creates a maze made of hexagonal cells.  In Part 2 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7850-Hex-Maze-Part-2.html), we'll extend the program by adding a depth-…
In Part 1 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7849-Hex-Maze.html) we covered the hexagonal maze basics -- how the cells are represented in a JavaScript array and how the maze is displayed.  In this part, we'…
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…

770 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