Internet Explorer download notification on HTTPS - silverlight

I have a Silverlight application deployed on a HTTPS server. My applications generates reports that are saved as PDF files. Whenever a user tries to download a file from my application from IE, he gets a notification under the toolbar asking him if he really wants to download the file. If you agree, then IE reloads the page, sending the user back to the login page of my application. After logging again, the user can download any file, but this is very annoying for the user. How can I resolve this problem? Thanks!

If you know who your users are (condition), you might ask them to put your website under their list of Trusted Sites, which will avoid the annoying notification bars.

You need to trigger the download in such a way that it's obviously a user-initiated action. I'm not sure if Silverlight offers a method for this.

Related

apiRTC.disconnect(); does not appear to work with cordova

I have setup both a classic ASP site and a cordova angularjs ionic app that allow video conferencing with apiRTC. When the user logs out of the web site apiRTC.disconnect(); works so a new apiRTC.init can be used when a different user logs in.
In the app, apiRTC.disconnect(); does not do anything so the user appears to still be online to other users, and when a different user logs in, it has no affect since init does not work.
Can you look at apiRTC.disconnect() under cordova and see if there is a general issue?
I have checked the issue by doing a test using our tutorial : https://github.com/apizee/ApiRTC-mobile and adding a button that call apiRTC.disconnect() on Android.
Others users receive the disconnection information and remove the user from the connectedUsersList.

Apache Session data/ cookies on Ionic/Cordova App

there.
I have my app's authentication running over an IFrame (it reuses an already functional structure shared by other systems based on web browser and it's MUST BE done this way). The iframe works just fine on all the enviroments (Android and iOS, emulators and devices), so we are good with it running that way.
My problem is: on the web systems, the auth process sends back an apache's session/cookie which tells the browser that a user is already authenticated and all other systems that shares the same auth protocol just knows the users are good to go without another 'sign in' process. When the user closes the browser, those session/cookies are cleared and when another window tries to access our system again, a new sign in form is presented to use make a new login. I need to reproduce this "cleaning" on my app but I don't know what, exactly, to clean.
I've already try the cache clearing methods available but nothing seems to do the trick I need.
Any clues?
PS: If I go to the device's seetings and clear all the app's data from there, I can make it work but is not a good way from the UX's perspective.
Thanks in advance!

Opening sharepoint documents from Silverlight and re-use session

We have a silverlight application thats behind a ISA server, and the users have to authenticate against the ISA server.
In the silverlight application we uses Sharepoint 2007 as a documentlibrary (the backend uploads the documents).
When the user wants to open a document, we use a javascript, editDocumentWithProgID2, and HtmlPage.Window.Invoke(...) in silverlight.
The problem is that word/excel shows a new login dialog, so the users have to login again. Is there a way of avoiding this login dialog?
cheers
Thomas
Word/Excel act like a second "browser", you can't reuse the session.
The only way to avoid double login is to save the file on the local drive and then open it with office.

Silverlight blank page but only from one machine

A silverlight application is deployed to IIS. I can access it from two different machines. However, a user from another machine only sees blank page.
I do not suspect mime types and other IIS/server issues because it works fine except for this user.
The user can access other Silverlight apps, on same server.
What can be the problem on the client's machine?
UPD: user can't access .xap file directly, restricted access.
UPD: looks to be a proxy in the middle.
Hm, can't delete my own post? Well, this looks to be network problem with proxy.
It seems a cross-domain issue, and normally an unhandled exception causes the Silverlight content to go blank, even-though if you right-click you would get Silverlight menu action.

jbossws webservice endpoint

I have developed a simple webservice implementation using top-down approach, created a war and deployed in jboss4.2.2GA, in windows environment.
I am able to see my webservice having registered end point, in http://localhost:8080/jbossws/services. But when i click on the endpoint hyperlink, I am not able to view the wsdl page.
Is it expected behaviour? Is there anyway, i can see the wsdl page on navigating through registered webservice endpoint hyperlink?
Thanks in advance
Are you seeing a blank page when you click the link? You might need to view the page source to see the actual WSDL content. I think IE will display the WSDL by default, but Firefox and Chrome will not.

Resources