Developer forum

Forum » Development » Remember admin password in IE

Remember admin password in IE


Reply

On my localhost the admin part of dynamicweb has a problem remembering username and password in IE.


 


Firefox remembers on localhost and online, and IE Remembers in online solutions but not on localhost.


 


this can be quite a nuisance as you have to log in the backend again after each compiletion.


 


 


Any idea how to fix this?


 


- Sune


Replies

 
Reply

 


Anybody who even had the same problem?


 
Reply
Try changing the url in the sln file to the IP address instead.



the line to change should look a little like this:

Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "CustomModules", "http://rap.dev.dynamicweb.dk/CustomModules.vbproj", "{1585E885-194F-46B1-BC51-130B9C7D092A}"
 
Reply
RAP wrote:

Try changing the url in the sln file to the IP address instead.







the line to change should look a little like this:



Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "CustomModules", "http://rap.dev.dynamicweb.dk/CustomModules.vbproj", "{1585E885-194F-46B1-BC51-130B9C7D092A}"



It's a development project on my work machine.


I tried to replace


Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "CSharpClassic", "http://localhost/CSharpClassic.csproj", "{61E84A2C-3B35-466B-8B46-9AFF24D84FE9}"


 


with my ip


 


Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "CSharpClassic", "http://192.168.254.123/CSharpClassic.csproj", "{61E84A2C-3B35-466B-8B46-9AFF24D84FE9}"


 


But that just resulted in a conversion wizard when i tried to launch the project afterwards.


 


Or am I missing something?


 


 

 
Reply
The 192.168.254.123 will change on next logon, if you haven't specified it yourself. What happens when you use http://127.0.0.1 or http://localhost to access your solution?
 
Reply
Sorensen wrote:

The 192.168.254.123 will change on next logon, if you haven't specified it yourself. What happens when you use http://127.0.0.1 or http://localhost to access your solution?



When I try either of the two and try to open the project, Visual Studio starts the conversion wizard.


 


 


 

 
Nicolai Høeg Pedersen
Reply

Hi Sune


 


Dynamicweb has a problem with remembering cookies when using URLs without any dots (.) - so if you access it in Internet Explorer using http://localhost/ it will not be able to remember username and password. And that is regardless of what you write in your solution files - it has nothing to do with it.


 


Start by deleting your 127.0.0.1 and localhost cookie and access you local Dynamicweb installation using http://127.0.0.1/Admin. That should work. Also notice what IE zone 127.0.0.1 or localhost is in (Look in your status bar - it can be internet, trusted sites or intranet) and check if that zone has some security setup (Tools, Internet Options, Security tab) so it will not handle cookies well.


 


Hope this solves and explains it.

 
Reply
NP wrote:


Hi Sune




 




Dynamicweb has a problem with remembering cookies when using URLs without any dots (.) - so if you access it in Internet Explorer using http://localhost/ it will not be able to remember username and password. And that is regardless of what you write in your solution files - it has nothing to do with it.




 




Start by deleting your 127.0.0.1 and localhost cookie and access you local Dynamicweb installation using http://127.0.0.1/Admin. That should work. Also notice what IE zone 127.0.0.1 or localhost is in (Look in your status bar - it can be internet, trusted sites or intranet) and check if that zone has some security setup (Tools, Internet Options, Security tab) so it will not handle cookies well.




 




Hope this solves and explains it.





That did the trick!


 


Thanks a lot, a one and a half year old mystery finally solved :).

 
Reply
You could also use something like XP IISadmin to manage more that one local website in windows XP. It lets you specify a bogus domainname in your hosts file that will point to the local website (eg. www.myclient.dev).



http://www.jetstat.com/iisadmin/



Fantastic tool...

 

You must be logged in to post in the forum