Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

session

Unable to serialize the session state

September 2, 2022 by Magenaut

When putting my application on a web server and trying to ‘log in’ I get the following error:

Categories ASP.NET, Q&A Tags asp.net, c#, session Leave a comment

Cache VS Session VS cookies?

September 1, 2022 by Magenaut

What are the do’s and don’ts about Cache VS Session VS Cookies?

Categories ASP.NET, Q&A Tags asp.net, cookies, session, state-management Leave a comment

C# Clear Session

September 1, 2022 by Magenaut

Question #1

Categories ASP.NET, Q&A Tags .net, asp.net, c#, page-lifecycle, session Leave a comment

Session_End does not fire?

September 1, 2022 by Magenaut

I want to sign out a user when his session times out. So used following code in Global.asax:

Categories ASP.NET, Q&A Tags asp.net, session Leave a comment

Asp.Net Session is null in ashx file

September 1, 2022 by Magenaut

I am trying to access the Session variable in Asp.Net ashx handler as shown below.

Categories ASP.NET, Q&A Tags asp.net, httphandler, session Leave a comment

Can OWIN middleware use the http session?

September 1, 2022 by Magenaut

I had a little bit of code that I was duplicating for ASP.NET and SignalR and I decided to rewrite it as OWIN middleware to remove this duplication.

Categories ASP.NET, Q&A Tags asp.net, c#, httpsession, owin, session Leave a comment

Session would not retain values and always return null

September 1, 2022 by Magenaut

I have a website, its completely over HTTPS. Even if someone tries to access over HTTP he will be redirected to HTTPS. I am using forms authentication. Recently I changed a setting to make the site more secure and after that Session is not retaining values and is always returning null. The settings are,

Categories ASP.NET, Q&A Tags asp.net, session Leave a comment

ASP.NET Session Cookies – specifying the base domain

September 1, 2022 by Magenaut

By default, ASP.NET will set its cookies to use “mydomain.com” as their base. I’d prefer to have them use “www.mydomain.com” instead, so that I can have other “sub.mydomain.com” subdomains that are cookie-free.

Categories ASP.NET, Q&A Tags asp.net, cookies, session Leave a comment

What is the maximum size a session variable can hold?

September 1, 2022 by Magenaut

What is the maximum size a session variable can hold ? I am trying to store object in session variable, if object size is under 80 KB, then working fine and if the size is greater than 80 KB then on retrieval I am getting an exception.

Categories ASP.NET, Q&A Tags asp.net, session, session-variables Leave a comment

ASP.NET Why are sessions timing out, sessionstate timeout set

September 1, 2022 by Magenaut

Hey I have the following line in my web.config

Categories ASP.NET, Q&A Tags asp.net, session Leave a comment
Older posts
Newer posts
← Previous Page1 … Page3 Page4 Page5 … Page17 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress