Serialcoder en Français Serialcoder in English
TEL : +33 (0)8 77 91 48 38

 

.NET FAQ collection

  • ASP.NET FAQ | Windows Forms FAQ | Windows Forms 2.0 FAQ | AspNetFaq.com FAQ | System.Web.Mail FAQ | System.Net.Mail FAQ

    ASP.NET FAQ


    32. Session


    32.1 How to print out all the variables in the Session?
    32.2 Why isn't session state available?
    32.3 Can I share session state between ASP.NET and ASP pages?
    32.4 Can I share session state between web applications (i.e. "virtual directories" or "applications" in IIS)?
    32.5 What is the difference between Session.Abandon() and Session.Clear()?
    32.6 The SessionID remains the same even after the Session times out or Session abandons?
    32.7 Why are my Session variables lost frequently when using InProc mode?
    32.8 Does session state have a locking mechanism that serialize the access to state?
    32.9 Response.Redirect and Server.Transfer is not working in Session_End?
    32.10 Is the session Timeout attribute a sliding timeout value?
    32.11 I am writing my own HttpHandler. Why is session state not working?
    32.12 Why isn't Session available in my event handlers in global.asax?
    32.13 When I use the Session in component class as Session("CustID"), I get error message "Session is not declared". Why?
    32.14 When I create a Session variable if I'm using inproc, where is the session variable stored?
    32.15 Is the session timeout attribute in minutes or seconds?
    32.16 Will my session state be saved when my page hit an error? Will my session state be saved when my page hit an error? In Session_End, I tried to do some cleanup job using SQL but it failed. Why?
    32.17 Why do I lose my Session variables on redirect when I set "cookieless" to true?
    32.18 How to store SortedList in Session or Cache?
    32.19 Why do I get the error message "Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive"?
    32.20 How to remove a Session variable?
    32.21 Is there any way to know how much memory is being used by session variables in my application?
    32.22 I have a frameset page which has an HTM extension, and I found out that each frame it contains displays a different session id on the first request. Why?
    32.23 Can different apps store their session state in different databases on the same SQL server?
    32.24 Do I have a valid HttpSessionState object and HttpContext object in Session_End?
    32.25 Why aren't my sessions expiring, I am using SQLServer mode?
    32.26 I set EnableSessionState to "ReadOnly", but in InProc mode I can still modify the session. Why is that?
    32.27 How can I avoid specifying a plain password for my sql connection?
    32.28 How can I use Session variables in a class?
    32.29 What kind of objects can I store in a Session State?
    32.30 Why did my request hang after I switch to SQLServer mode?
    32.31 What are the disadvantages of setting cookieless to true?
    32.32 Can I store my session state in a database other than tempdb, In SqlServer mode?

     


    DotNet News, Tutorial and Code samples :

    Creating a DotNetNuke Module with Custom Permissions
    Tutorial on how to add custom permissions to a module's settin...En savoir plus

    vendredi 09 janvier 2009 | The Code Project Latest Articles

    Load automatically the references of a script
    It is a framework for managing your and third-part JavaScript? libraries. It will make you easier to import any script library (your or third-part) without injecting any dirty code. For that, you just need to configure some info in a configuration fil...En savoir plus

    vendredi 09 janvier 2009 | The Code Project Latest Articles

    AJAX: Client Side Actions Before and After PostBack
    On several occasions I have wanted to perform other client side tasks either before or after, sometimes before and after an asynchronous PostBack in ASP.NET AJAX. In this article I'll divulge my recent findings and how this can be achieve...En savoir plus

    vendredi 09 janvier 2009 | DotNetFreaks

    Membership Using ASP.NET AJAX
    Previous articles have discussed how to use AJAX to consume web services, call page methods and interact with the Profile API. This article will demonstrate how to perform membership functionality (authentication) with ASP.NET AJAX. Attached will be the full source, including a sample database to k...En savoir plus

    vendredi 09 janvier 2009 | DotNetFreaks

    .NET 2.0 REST service
    A working implementation of a REST service in .NET fx 2...En savoir plus

    vendredi 09 janvier 2009 | DotNetFreaks

    A Professional HTML Rendrer you will use
    100% managed code that draws HTML on any devi...En savoir plus

    vendredi 09 janvier 2009 | The Code Project Latest Articles

    Show previous articles
  • .NET FAQs
    Cher Entreprenaute, vous pouvez trouver ici votre passeport pour l'economie numerique

    Latest releases

    Keyword studio 1.1
    Générez des nouveaux mots clés pour vos campagnes PPC et découvrez qui de vos concurrents les achetent.
    keyword generator and suggestion tool download Download now
    Visual Log Parser 1.0
    GUI for the powerfull log parser.
    download Visual Log Parser GUI Download now
    Open Shopping Cart 1.0
    Open Shopping Cart, composant asp.net pour la gestion d'un panier de commande
    download open shopping cart for asp.net component Download now
    .Net search engine
    Search through .Net contents.
    .net search engine Try now
    .NET (dotnet) FAQ
    A growing knowledge base about ASP.NET, Windows Forms and .NET 2.
    ASP.NET FAQ Check it now
    .netTiers support
    and developpement

    Smart Code Generator

    Serialcoder participe activement au projet opensource Smart Code Generator

    smartcodegenerator