C# - Silverlight Out Of Browser Offline Forms Authentication?

Jan 6, 2011

I'm building an app which is subscription based, users can login to a website an use it as they. I would also like them to have the option to work with it outside of the browser and even offline. The app itself is not dependent on online resources, only the authentication is done via forms authentication. What would be the best way for me to make offline authentication possible?

View 1 Replies


Similar Messages:

How To Force Browser Work Offline

Apr 8, 2010

Is there a way change the settings of the web broser to "Work Offline Mode" ? or the only way of doing it is to install activeX that doing so?

View 2 Replies

Keeping .NET Session / Forms Authentication Alive In Silverlight Application?

Sep 13, 2010

I have a web app containing a silverlight application. How do I keep the ASP.NET session / Forms Authentication alive when the user is using the silverlight application?

View 1 Replies

Security :: Using Asp.net Form Authentication With Silverlight?

Apr 28, 2010

i intent to use asp.net authentication ticket system to validate users on my silverlight application.

View 1 Replies

Can Use Silverlight On Mobile Browser With Vs 2008 Framework 2.0

Apr 13, 2010

which version is use for tht to develop my mobile web brower appliaction for new mobile handset plz give me step by step for that& plz tell me which appliaction is use for tht bcz i'm new.

View 1 Replies

How To Open Aspx Page In New Browser Window From SilverLight Application

Oct 6, 2010

I want to add a button to my user control in SilverLight 4.0 application which will open a new browser window with an aspx in it when it is clicked.

Additionaly, can I lock the SL application until this new window is closed (Alike a modal dialog)?

View 2 Replies

C# - End User To Use My Silverlight Media Player Application In Browser To Play The File, Prevent Them From Download To Local Directly?

Mar 4, 2010

I am using VSTS 2008 + C# + .Net 3.5 + Silverlight 3.0 + ASP.Net to develop a Silverlight application (a video media player) in browser and the function is simple, just use MediaElement to play a remote video file.The remote server is Windows Server 2008 + IIS 7.0 + IIS Media Bit Rate Throttling Control.Since the request media URL can be discovered (e.g. from traffic sniffer), and I want to know how to prevent from download directly from the Url? i.e. I want end user to use my Silverlight media player application in browser to play the file, prevent them from download to local directly. Any easy and quick solution or reference code/documents?

View 5 Replies

Security :: Automatic Expiration Of Forms Authentication When User Closes The Browser Windows Without Signing

Aug 28, 2010

can u tell me how to automatically sign out a user if he/she closes the browser window without signing out. I'm using Forms Authentication.

View 1 Replies

.net - Authentication/Session Cookie Deleting After Browser Close?

Jun 23, 2010

What are the exact steps required for a cookie to persist after a browser is closed? At the moment I have:

System.Web.Security.FormsAuthentication.Decrypt(Request.Cookies[System.Web.Security.FormsAuthentication.FormsCookieName].Value)
{System.Web.Security.FormsAuthenticationTicket}
CookiePath: "/"
[code]...

View 2 Replies

Authentication Login And Logout With Browser Back Button?

Apr 21, 2010

I have a web application build in asp.net and using a custom membership provider for authentication and authorization. Everything works fine except when the user click on the logout link to log out of the application and being redirect to a default cover page, if the use click on the BACK BUTTON on their browser, it will actually go back to where they were before and the data will still show up.

Of course they can't do anything on that page, click on anything link they will be redirect to a login page again. But having those information display is making a lot users confused.

i am just wondering if there is any way i can either clear the browser's history so use can't go BACK, or when they click on the back button and have them redirect to the login page.

View 7 Replies

Security :: Web Browser Show Authentication Required When Login Page

Jul 26, 2010

I installed my asp.net application on server (Windows Server 2003, Standard Edition, SP2)

I already set:

1. In ASP.NET Configuration Setting: I set Authentication to None.

2. Check Enable anonymmous access.

3. Uncheck Integrated Windows Authentication.

But the brower always show Authentication Required Dialog.

If I ignore this.

It show this error:

Access is denied.

Description:

An error occurred while accessing the resources required to serve this request. The server may not be configured for access to the requested URL.

Error message 401.2.: Unauthorized: Logon failed due to server configuration. Verify that you have permission to view this directory or page based on the credentials you supplied and the authentication methods enabled on the Web server. Contact the Web server's administrator for additional assistance.

View 1 Replies

C# - How To Browser Occasionally Losing HttpCookie For Authentication After Postback And Redirect

Dec 29, 2010

This has been a nagging issue for some time, but very sporadic and difficult to isolate.

From time to time, browsers that have authenticated on a web application, have been open for a while, have logged in and out of the same web application multiple times, have multiple tabs, are pretty much any browser (Chrome, IE, Firefox, Safari), and seemingly at random, lose their ability to retain an AuthCookie after being set and followed by a redirect. Closing the browser and starting a new session resolves the issue, as does opening up a different browser and attempting to authenticate.

Our team uses forms authentication for all of our websites and web application. This is a pretty typical setup where a login form is displayed, the user enters credentials and a cookie is set on the click event of the postback, then a redirect occurs to the same page where the cookie is then referenced and used to complete authentication.

In this situation

FormsAuthentication.FormsCookieName = ".WebAuth"

Within Event:

FormsAuthenticationTicket authTicket = new FormsAuthenticationTicket(1, Username, DateTime.Now, DateTime.Now.AddMinutes(SessionTimeout), false, Username); HttpCookie faCookie = new HttpCookie(FormsAuthentication.FormsCookieName, FormsAuthentication.Encrypt(authTicket));
Response.Cookies.Add(faCookie);
Response.Redirect(Request.RawUrl, true);
After the redirect, on PreInit:
HttpCookie authCookie = Request.Cookies[cookieName];

At this point, the authCookie variable is typically not null, but in these isolated circumstances that I've outlined above, the cookie comes back null after the redirect.

This happens very randomly, sometimes weeks before affecting one of our developers. As I said, restarting the browser resolves the issue.

Today I had it happen on our dev server while using Chrome. I had logged into the application, allowed the application to session timeout, and then attempted to login again. The attempted login then failed to set the cookie. I remotely attached Visual Studio to the process on the server to begin debugging. The entire time I could step through my code, even deploy new code versions to the server with updates, restart the app, restart IIS on the server, attach and reattach to the project, and the issue persisted in Chrome. In Firefox, I was able to authenticate without issue.

From Chrome, the login would validate, attempt to set a Response Cookie as outlined above. Prior to redirect, I could see the properly set Response Cookie, as well as its counterpart in the Request Cookies. However, on each redirect after a seemingly successful login, the Response and Request Cookie are gone.

I enabled Trace on the application to view the cookie collection:

There is a .WebAuth in the Request Cookies Collection, as well as ASP.NET_SessionId and several ASPSESSIONIDxxxxxxxx, but when the page loads, only the ASP.NET_SessionId and ASPSESSIONIDxxxxxxxx cookies are available in the Request.Cookies scope, no sign of the .WebAuth. However, in the page's Trace information after render, there multiple .WebAuth cookies listed, it is just that the page seems to have no access to them.

Primarily, on a working version after authentication there is both a .WebAuth Response and Request Cookie in the page's Trace info. But on a non functioning browser window, the Response Cookie is absent.

Has anyone else had any experience with this? It is such a nagging issue, and so sporadic, but I would love to be able to resolve it. My concern is that it may be affecting users and we would have no knowledge since the description of the issue is so convoluted.

View 1 Replies

Disable Cookie At Browser Level Will 'Form Authentication' Still Work

Mar 30, 2010

When i disable cookie at browser level will 'Form authentication' still work ?.If not,What is the alternative that enables the 'From Authentication' ?

View 2 Replies

Windows Authentication - Reenter Username And Password Everytime When Open A New IE Browser

Jun 18, 2010

I have an ASP.NET setup website using Windows authentication. Each time I open IE and try to access the webpage I get a windows authentication screen. Once I have logged in I can see the website fine. My problem is that every time I open a new IE browser I have to re-enter my username and password. I have heard about thew double hop issue, is this what it could be. If so how many ip fix this. Any ideas how i can stop this box showing up each time? I have ticked the "remember my username/password" tick box but still no joy. I am using Windows Server 2003, IIS 6.0 and .NET 4.0.

View 2 Replies

Web Forms :: How To Create Offline And Online Application

May 5, 2010

me how create offline and on line application.like..

I need create an app.net application.This should works with or with out internet.

Here main requirement is some user will connects to internet and get data to local system.then whey will work on offline.Finally need update server all users updates to server.

so here..

1. user will connect to internet every morning at that time we need to synchorize local database from server database.

2.next user will do some operataions like adding some records or updating some records from his local database using application.

3.Finally end of the day we need to synchronize his local database with server.

View 3 Replies

Web Forms :: Show If User Is Offline Or Online?

Jul 29, 2010

I'm making a forum.

I need to show if a user is Offline or Online.

Like this:

Where is says Online i need it to say Offline when the user if offline.

Okay, now i think i got explained what i would like to do.

How i would like this to work:

When a user logs in i want his status to change to Online.When the user press Log Out i want the status to go Offline.

When the user haven't been active for 10 minutes i want the status to change to Offline, but he is still logged in.If he clicks on something he's active again, so i want the status to go to Online again.If the user browse away from the site or close the browser/site i want it to go to Offline status again.

View 3 Replies

Web Forms :: Making Web Site Online And Offline

May 29, 2010

i want to display the message for my website if its under maintenance or temp. closed for any updates

[IMG]http://i49.tinypic.com/a4omkg.jpg[/IMG]

how i can do that so that all user's can see that messages and all the link's should not work for that time interval

but the Maintenance staff and their id should be able to make changes and see

if anyone has any idea about this one please tell me how to do this in asp.net because this same thing can be done in any cms s/w

Language-ASP.NET C#

View 6 Replies

Web Forms :: How To Detect Whether User Is Online Or Offline

Nov 25, 2013

I am working on a web project, and here i want to display a label which will display how many user is online and open this site. What can i do

View 1 Replies

Web Forms :: How To Develop An Application That Should Be Able To Work Online And Offline

Jan 6, 2011

I want to develop a utility where user will insert new Records and also the same application should work if user is not connected with internet.When user wants to submit records only that time he required to connect internet.

We have created one sample application using excel where we use Dropdown, Textbox, Label.User will download excel file from website and filled up details. When user wants to submit all details only that time internet is required. Application will insert value from excel file to server using WebServices when user click on submit button.

Above is working file but it's increasing our work because we are creating website and also Excel project (Almost double work). I want something where we can utilize the code for online and offline application.

View 1 Replies

Web Forms :: Display Users With Online Offline Image

May 7, 2015

How to add image with all the ListBox items.Ex: I want to add a "green" circle icon image in front of all the items of ListBox.to to show the status of items in listbox.How to achieve it

View 1 Replies

Web Forms :: Taking A Particular Page (.aspx, .html, .htm) Offline Instead Of The Whole Application

Apr 5, 2010

While having a file App_Offline.htm takes the entire application offline from the web server, is it possible to just take a particular or certain particular pages offline?

E.g. Default2.aspx, Default3.html, Default4.htm, etc.

Such that when a user navigates to the page, a message would tell the user that the page is offline / redirect the user to an alternative page?

View 6 Replies

Web Forms :: Setting System Offline At Particular Time In Global.asax?

Dec 29, 2010

I need to set a page (unavailable.htm) whenever any user try to access the website from particular time (i.e 1-2 pm). I am using Application_BeginRequest() to check on the hours and redirecting to unavailable.htm. It does not work because it keeps redirecting endlessly to unavailable.htm. Below is my code :

Sub Application_BeginRequest(ByVal sender As Object, ByVal e As EventArgs)

View 3 Replies

Web Forms :: Display Online Users As Green And Offline As Grey Using Real Time Updates

May 7, 2015

How to Display online users as green and offline as grey using real time updates..

View 1 Replies

How To Get Application Offline

Jul 16, 2010

I know there is somthing for asp.net 2.0(App_Offline)... that one can create to make apps not accessible during maintanance or someother stuff... Is there something of that nature for Asp.net 3.5 ... And i am using Microsoft Visual Web Developer 2010...

View 2 Replies

Put All Webapps In The Server Offline?

Feb 22, 2010

Sometimes we need to do maintenance in the web server.

In the period of time that this maintenance occurs, I want that a user-friendly page be displayed to anyone that tries to access our apps.

I know about the app_offline.htm file. But using this "trick" I would need to put a file per web application in the server, right?

We use IIS 6 and 7, running classic ASP, ASP.NET 1.1, ASP.NET 2.0 and ASP.NET 3.5 apps.

So the question is: Is there a better way of doing this?

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved