Whenever cookies are disabled in my browser and then i try to login on login page it unable to login in system and when i enable cookies it logins perfectly. What is the issue and how to solve it
View Complete Post
In my web application, I set the mode of session state as State Server and point to another server. After run some days, I always meet following exception:The state server has closed an expired TCP/IP connection. The IP address of the client is 192.168.80.157. The expired Read operation began at 08/25/2010 14:18:03.
How to resolve the issue?
<sessionState mode="InProc" cookieless="false" timeout="20"/>
I have put the above in my web config file. But my session timeout in less than a minute. are there any other changes to be made or added somewhere .
I get an error.
ÃÂ When i try to use Workflow by select one of the Workfolws in sharepoint I get this error:
"The form cannot be displayed in the browser because the use of session cookies has been disabled in the current browser settings. In order to load the form, session cookies must be allowed"
I Change my IE setting to "always allow session cookies" but i still get error.
please help me to solve this problem
In my application user upload movies and the size of movies can be
around 100MB or more. For this reason im doubtful that if any user have a
slow connection it could take hours and if it takes so much time then
my application session will be expired. What should i do to cater this
issue? My application is on ASP.Net MVC2 with C# and hosted on Windows
anyone got an idea on how to create a logout page that clears the session and cookies??? using c# .net...
I am about exhausted trying to figure out this error:
Description: The page cannot be displayed because an internal server error has occurred.
Error Code: 0x8007007b
Requested URL: http://localhost:80/ReportServer
Physical Path: c:\Program Files\Microsoft SQL Server\MSSQL.2\Reporting Services\ReportServer
When I enable Failed Request Tracing Rules and view the log output I am supposing that the actual problem is in the 2nd call where there are 2 backslashes before the actual filename in the specified path:
I am currently trying to display multiple items on a single page. I am not sure as to how to tackle this. What I have is a database table that has all the page data in. I have this run as a PagesController and this works fine. However what I would like to do is, if say the Products page is selected via the menu, I want to pull back not only the Products page html but also get all the products, and even be able to pull them through via category. I was trying to use a partial view, but I can't get it to work. The same would be for other pages, having partial views to display the other content, ie if Gallery is selected, the page html for Gallery shows and it then can push to a partial view that pulls all the gallery images from the gallery db table and so on. Maybe I am tackling this the wrong way. I have the pages stored in the db to allow for a CMS system I have setup. Maybe I need to use models for all the other items(Products, Gallery, Videos and such) and use the partial for the page html?Any help would be greatly appreciated as I am confused.
The api guide is real briefe about cookies. I would I go about creating/assiging a cookie, setting exporation, and anything else...
Could someone just list out the helper capabilities?
Thanks for your time...!
Hi to all,
I have some things that I want to know. I am right now using a free asp.net webhosting ("somee.com"). The problem is that when I am visiting a page, there's a tendency that values stored in my session variables are lost. Therefore, it causes an error when the requested page is loaded.
1. I am thinking of using sessionState mode="SqlServer". Will it solve my problem?
Actualy Im working on it but Im having problems when connecting to the sql database.
2. Is that a problem in the webhost?
3. Do free webhosting sites provide allow session state in the sql server?. Because ive tried it locally into my computer and error say's i should intall the ASP.NET Session State SQL Server version 2.0 or above.
I have a web application in which i need to logout the user if he clicks the logout button or even if he closes his browser window. On Logout button click, i am doing session.Abandon(), but how to go about his browser window close.
Can anybody help with a code sample.
is there any way to find out the reason for session expiry?
In my live site session time out with in 5 min only.how can i get the default i.e 20 min time . below webconfig file give below
<?xml version="1.0"?><!-- Note: As an alternative to hand editing this file you can use the web admin tool to configure settings for your application. Use the Website->Asp.Net Configuration option in Visual Studio. A full list of settings and comments can be found in machine.config.comments usually located in \Windows\Microsoft.Net\Framework\v2.x\Config --><configuration> <configSections> <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup,
System.Web.Extensions, Version=1.0.61025.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"> <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup,
I am creating a simple shopping cart using a datatable that is passed into a session object. I have a small mini cart that displays the total number of items in the cart as well as the running total - this is displayed in a web control. When the web control starts up I run a try/catch to see if the session object exists, if it doesn't I create the datatable for the cart and store it in the session. I then have a datalist control that contains all the information for my products including an "add to cart" button. When the page loads everything looks fine. If I click on an "add to cart" button nothing happens to the session information. If I click on it again, the session information updates - displaying only one item is in the cart and then counts up correctly there after. Additionally, after adding an item, if I select a different item in the list, the same issue occurs. I am not sure why this is happeing, if anyone can give me an idea I would appreciate it.
I m facing a problem in my application with server so it needs changes .
My question is
Q1.Where should I store my session if i want to disconnect my server or How shold we storesession in web farm if specific serever is shut down.
Q2.Can anyone explain me difference between WEB FARM and WEB GARDEN
What are the issues (if any) of setting sessions to expire after an extended period of time as in 4-8 hours? I'm building an intranet app which is designed so that users will access it once in the morning and then leave it used, possibly, for hours at a time. I'm assuming that there aren't too many since
1) we're running it on a intranet 2) sessions are soley to retain state between requests3) its not like a connection to the DB where you can conceivable run out