Browse by Tags

Related Posts

  • [c#, session cookies]Object reference not set to an instance of an object. How to receive session cookie (added by ‘Session[“password”] = cpassword’) in good, correct way?

    I would like create page (in c# language) where I could type login, password and after checking checkbox could save "mypassword" to the computer cookies. After clicking button, script should be check my login and my password and save "mypassword" to the session cookies (to receive on page "admin.aspx...
    Posted to State Management (Forum) by szmitek on 05-13-2007, 12:00 AM
    Filed under: OutputCache clear, page, requesting session cookies, Session, Session and Authentication, Session State, application, application object, asp.net, asp.net 2.0, authentication page-redirection session state stale page target redirection, c#, cookie, Cookies, current user, dynamic content, response.redirect, authentication
  • Re: Cookie value lost when I Redirect to a new web page

    Hi, I experienced similar problem and after some hours of investigation I conclude that everytime you change the value of the cookie, you need to set its expiration date too. As I remember this wasn't the way the cookies worked before, but now this is the solution. You can read more about this in my...
    Posted to Web Forms (Forum) by Vesy on 03-30-2007, 12:00 AM
    Filed under: page, closed, cookies, expire
  • Setting up pre init method accross all pages

    i developed a bookmark type application and have the following code in the pre-init method Protected Sub Page_PreInit(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.PreInit Dim myControl As Control = getPostBackControl(Me.Page) If Request.Cookies("Favorites") Is Nothing Then...
    Posted to Web Forms (Forum) by TeH Brofessor on 07-28-2009, 12:00 AM
    Filed under: ASP.NET, Master Pages, User Controls, cookies, page, bookmark, pre init
  • Re: Web Site .NET C# for mobile - Error in session ?

    Thanks for your answer, but I'm a bit surprised. Why would Microsoft add "Mobile Page" in their templates in Visual Studio if it's working better with usual .aspx pages ? Except for the sessions variables, the application is working fine. I might send variables threw pages instead of...
    Posted to Mobile and Handheld Devices (Forum) by meliweb on 12-14-2009, 12:00 AM
    Filed under: mobile, ASP.NET Mobile Controls, Cookies, Blackberry, .NET mobile, authentication, MobileControls, .NET, #MobileDevelopment, variable, session, page, visual studio
Page 1 of 1 (4 items)