Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Network credentials

Posted on 2004-09-21
4
Medium Priority
?
343 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 900 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

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 …
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…

704 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