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


Similar Messages:

AJAX :: Keeping Session Alive Via Webservice?

May 21, 2010

if updating a session value from within a webmethod call made from jquery would be able to keep my session alive?

JS:

$.ajax({
type: "POST",
url: "MyWebService.asmx/Keepalive",
async: true, [code]....

View 1 Replies

C# - Keeping Alive PostedFile.InputStream ?

Jan 21, 2010

I was wondering wich's the best way to "keep alive" the InputStream of the FileUpload Control.I would give you one example. Let's assume you have the FileUpload control in one WebForm, and you want process it in the next WebForm (after Response.Redirect).It would be great (unless for the memory) to have something similar to:

Session["PostedFile"] = this.FileUpload.PostedFile.InputStream.
Unfortunately, this results in:
System.ObjectDisposedException

View 2 Replies

How To Keep Session Alive Between Two Calls To A Web Service In A C# Application

Oct 5, 2010

This is quite straight forward. I'm calling a web-service (.asmx, with session enabled) from a c# application. I want each call to be with the same session key as the previous one (as opposed to creating a new session key each time).

Here's my (nothing-out-of-the-ordinary) code:

[Code].....

View 3 Replies

Open A New Window Whilst Keeping The Old One Alive?

Feb 14, 2011

I gather customer information on a asp.net page (.net 2.0) then I want to open a new page / window which will be passed all the payment details and then connect to our payment service provide to process the payment. Once done the payment window is then close and the original calling window is updated with the result of the payment.

I can do all of the above, except I don't know how to go about opening a 2nd IE window leaving the calling windows on the screen whilst passing parameters and retrieving the result.

My best guess would be:-

Stuff all the parameters into session state var's

Open a new windows / page pickup the session state var's

Process the details

Write the results back to session state var's

Close the new window

Pickup the results from the session stae var's

View 3 Replies

State Management :: Set Session Alive No Session Timed Out?

Dec 29, 2010

how to set asp.net session alive no session timed out problem

View 11 Replies

Web Forms :: Session Is Not Alive For Long Time

May 14, 2012

I have used session in my application for admin panel. It is redirecting if i not use 1 or 2 minutes. I need to stay session until I click logout  button.

View 1 Replies

State Management :: Want To Keep Session Alive?

Jan 18, 2011

i have a website where i want to keep the session alive while user has browser open?

View 9 Replies

State Management :: Session Key Gets Null While Object Alive

Jan 27, 2011

I have a Authorizeclient.aspx.cs page where I set my session value.Authorizeclient.aspx is a blank page. HttpContext.Current.Session["nodeID"]="0". This session value changes from 0 or non zero which depends on the value returned by Database. If no value is returned I assign HttpContext.Current.Session["nodeID"]="0" as the default state else I assign HttpContext.Current.Session["nodeID"]=resolve(nodeID).ToString()

Till this part it works fine as expected. However, I have a requirement that I need to read the nodeID from Session in other application on the same server. I mean this application too is part of the root project where I initially created the Session and set it. The strange thing is the Session["nodeID"] in application gets null "SOMETIMES" Not always. I am trying to read the Session in Page_Load. Sometimes it works fine and sometimes it gets null. Moreover the session object do not die and I can see other keys like Session["Themes"] etc there. The session is in InProc mode and have 20 minutes timeout time.

View 6 Replies

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

Keeping A Large Volume Of Data In Session?

Mar 23, 2010

I'm developing a web app for which the client wants us to query their data as little as possible. The data will be coming from a Microsoft CRM instance.

So we've agreed that data will only be queried as and when it is needed, therefore if a web user wants to see a list of contacts (for example) that list is fetched into a local DataTable. Then if a new contact is created on the website the new contact is sent to CRM and added to the local DataTable at the same time. Likewise for edits.

If the user then looks at their contacts again the data will just come from the local DataTable.

View 2 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

Web Forms :: How To Enable Silverlight 3.0 In A Simple Web Application

Apr 19, 2010

I have a simple ASP.NET 3.5 app in which I want to use SL 3.0 cntrols, how can I do that without starting out with a fresh SL enabled ASP.NET application template?

View 3 Replies

Web Forms :: Can Create Windows Application Using Silverlight

May 24, 2010

Can i create Windows Application using Silverlight

View 2 Replies

State Management :: Keeping Application Variable Or Static Class For Global String?

Nov 18, 2010

I need to keep a global variable throughout the whole time the user is at my site, but do I use Application or a static class? The string variable should store a region name and my site makes a few changes depending on which region that has been set.

I read that Application was mainly for classic ASP, but I also read that a static class cannot be instantiated at runtime (e.g. when the user has logged in).

So, have I got something wrong here and which solution do I use?

View 2 Replies

Web Forms :: How To Use Silverlight Application In Already Created Website Project

Jul 17, 2010

there is already an asp.net web site developed,now due to certain requirements i want to use silverlight enabled pages in my project(for its flexible designing purpose).

View 2 Replies

C# - How To Build A Silverlight Application And Have It Work Under Application

Aug 7, 2010

If I need to build a silverlight application and have it work under my asp.net application!

Does that mean I have to create two different vs projects?

One for silverlight the other my asp.net application? Or I can have one in 1? What do I do?

View 3 Replies

How To Raise An Event In .net Application From A Silverlight Application

Oct 9, 2010

I have a Silverlight application hosted inside an asp.net website. In my silverlight applicaiton, if I select a theme. Then, theme changes will gets fired. I want to get notified in asp.net web page, when the theme changed event is fired inside the silverlight application. Note: Also, I don't want to use a data base to maintain the state of the application.

View 1 Replies

ASP.NET Session Timeout Notification In Silverlight 4?

Feb 3, 2011

I have a hosted Silverlight 4 application. My task is to notify a Silverlight user when his ASP.NET session is about to expire with a simple dialog box, saying something like "Your session is about to expire, would you like to reset the session?" with two buttons [Yes], and [No]. When the user clicks [Yes] I would like to update the ASP.NET session, otherwise I would just let it expire. What is the best methodology to use here?I've taken a look at different forums, and most people just simply poll the server every-so-often from the page hosting the Silverlight application. This wouldn't do for me. I thought of creating a singleton DispatcherTimer that would start on Silverlight application startup, would fetch Session.Timeout value from the server using WCF and would run for (Session.Timeout - some delta) minutes. When the timer expires it would pop the notification window. Moreover, since this notification window should only pop after a period of inactivity, I'd like to reset this timer every time a WCF call is performed (which essentially defines activity).P.S. I'm also planning on doing something similar for Forms timeout.

View 1 Replies

Web Forms :: Silverlight Application Not Loading On FireFox & Chrome But Loads On IE?

Jul 6, 2010

We have an application clusteredbrain.com designed on Silverlight 2.0 connected with OLAP data cubes

Onn IE it works fine but on FireFox or Chrome it doesnot load giving following error

This is the error Message Given by Firefox whwn it tries to call a WCF Webservice.

"Unhandled Error in Silverlight Application An exception occurred during the operation, making the result invalid. Check InnerException for exception details. at System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary() at OlapSilverlightCharts.ServiceReference2.GetChartDataCompletedEventArgs.get_Result()
at OlapSilverlightCharts.MainPage1.webService_GetChartDataCompleted(Object sender, GetChartDataCompletedEventArgs e) at OlapSilverlightCharts.ServiceReference2.Service1Client.OnGetChartDataCompleted(Object state)"

We have ClienAccesspolicy and crossdomain policy in place.

View 1 Replies

Web Forms :: Shift+tab Key In Numeric Field In UI Form In Silverlight Application?

Oct 6, 2010

Issue in UI form:1. when user press shift+tab key in numeric field then it's not working means cursor not moving.2. when user press shift+tab key in field wich is allowing any characters then it's working.

View 1 Replies

C# - Converting A Web Application To A Silverlight Application?

Feb 15, 2010

I'm developing an three layer ASP.NET application with C# and Visual Studio 2008 SP1. I'm using WebForms.

I'm wondering to convert that application to a Silverlight application. Maybe I can reuse a lot of code of ASP.NET layer.

View 3 Replies

Forms Authentication And Session Signout

Dec 3, 2011

yes, I know these are 2 different things

I am trying to "marry" them up together. so lets say if session timeout is 2 minutes and same with forms authentication.

I want the ability to redirect the user to a page. (no, not using meta tags or anything to refresh the page) on any navigation after the time out.

Sure, create a control and drop it in the master page. All good

but there doesnt seem to be a way to determine if a user was logged in and if so... do what I need to do (i.e Signout and redirect) but it should not impact users who have not logged in.

The only time objects are being added to the session is when the User has logged in. infact the only object in session is a Custom User object.

View 7 Replies

How To Use Silverlight Application On Iphone

Jun 2, 2010

We have develop one application in silverlight..

We want more information about how we can use this silverlight application on IPHONE.

Basic requirement is silverlight application should work on IPHONE.

View 10 Replies

Silverlight Application For Mobile Or PDA

Mar 19, 2010

I have to create application which should work in web, mobile and PDA. I am using Silverlight application. Any one has idea that which type of problem can I face in Mobile and PDA? It is working fine in web. I am also using some third party control like Telerik control.

View 2 Replies







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