I have developed a servlet that generates a .url file and send it to the user. The target is to let the user access to the web application without entering the username and password data, by double-clicking the .url file downloaded. The .url File has the following format:
[DEFAULT]
BASEURL=http://{SERVER}/login?action=directAccess&userName={USERNAME}&passw={ENCRIPTED_PASSWORD}
[InternetShortcut]
URL=http://{SERVER}/login?action=directAccess&userName={USERNAME}&passw={ENCRIPTED_PASSWORD}
IconIndex=0
IconFile=http://{SERVER}/resources/favicon.ico
I know that this solution only works in Windows OS but I have no problem with this because all the clients that use the web application use windows as OS.
The problem is that the .url file downloaded doesn't load the icon indicated on the file in some cases ( Windows 7 or higher OS), so the icon showed is the default browser icon. Is there any solution?
Thx very much!