This question is locked. New answers and comments are not allowed.
We need some advice on opening secure external files. We are using remote views which are rendered from our MVC application using partial views. Once logged in, a session is created for the user on our web server. The session persists the user's security context. Unfortunately, we ran into a problem with sessions and wanting to open secure documents on the mobile app.
I've viewed the examples on how to open external PDFs. This would work, but when you invoke the external URL, a new browser is created and thus, a new session is created. As a result, the user's security context is gone and we deny the request.
So, I thought I would use the FileTransfer plugin to download the PDF documents to local temporary storage and then open the PDF from the local file system within the app. I soon discovered that the FileTransfer plugin request also creates a brand new session! As a result, the user's security context is gone and the request is denied again.
Any thoughts on how I can make an external URL request in kendo mobile which maintains the current session?
- OR -
How to use the FileTransfer plugin to download files using an http post request? This would not be optimal, but at least I could submit the login credentials to authenticate before the HTTP handler streams the file back.
I've viewed the examples on how to open external PDFs. This would work, but when you invoke the external URL, a new browser is created and thus, a new session is created. As a result, the user's security context is gone and we deny the request.
So, I thought I would use the FileTransfer plugin to download the PDF documents to local temporary storage and then open the PDF from the local file system within the app. I soon discovered that the FileTransfer plugin request also creates a brand new session! As a result, the user's security context is gone and the request is denied again.
Any thoughts on how I can make an external URL request in kendo mobile which maintains the current session?
- OR -
How to use the FileTransfer plugin to download files using an http post request? This would not be optimal, but at least I could submit the login credentials to authenticate before the HTTP handler streams the file back.