I am developing an application using DNN. One of the requirements are to automatically logout a User if he closes his browser clicking on the Close button. I have tried many ways but its not working? Any suggestions, how this can be implemented.
If you disable the "remember me" option in the Host Settings, DNN will log users out once the browser session is closed (close all windows).
Is that what you need to ensure?
Related
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.
How to show an alert to an user when he / she opens my website on a mobile phone?
I want to know this as I want to notify the user how to set the website application on his / hers mobile phone.
There are many scripts available to do this for you. YOu would have to check it on the server side and relay this information to your front end to alert the user.
this post might be of help.
Auto detect mobile browser (via user-agent?)
I just created my apps account, and created my app engine application, yesterday. I used Eclipse to upload my app and everything was wonderful yesterday. Today... the application is missing. I log into my appengine account and my app is no longer listed; I only see the "create application" button. I tried creating the app again, with the same ID, but I get the "invalid" message. Despite all this, I'm able to bring up my site via the main-domain.appspot.com. Please help. Why can't I see my app in the appengine console?
The most likely cause is that you're logged into a different account. This can happen sometimes if there was confusion about mutli-login. Try these steps to find your application:
Open a fresh incognito or private browsing window
Go to http://appspot.com and log into one Google account
See if your application is listed. If not, close your private browsing window to clear the session, and try it again for one of your other accounts.
Once you've found your application, it may be owned by the wrong account. You can fix this by moving ownership to your preferred account.
Navigate to the dashboard for your application.
On the left side menu click 'Permissions' under 'Administration'.
Add your preferred account as an owner.
Log into your preferred account and check your email. You will need to accept an invitation to take ownership of the application.
Reload the permissions page on the application dashboard. You should see both accounts listed as owners.
Remove any unwanted accounts from the owners list. (Remember, you need at least one owner!)
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.
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.