Use Session On A Shared Hosting Server With Load Balancing?

Oct 4, 2010

My website/application is in ASP.NET. I use the traditional Session object when people connect so they have their preference, etc. My problem is that sessions were lost very often. I discovered that my hosting company was using load balancing on their servers, so one request on my website can be on one server, and the other on another one.

I tried to store the session data in a SQL Server database, but I quickly discovered that I can't create the needed database on my shared server because I only have one database in my package. Also, there is no guarantee that the rest of the script would have been able to run.

My questions: is there any other way to get around this problem? Should I buy another database only for this? Is there another type of session that I could use? Is there anything else I can use instead of session to keep track of my user when they are connected on my website?

View 4 Replies


Similar Messages:

IIS 6.0 Load Balancing And In - Proc Session

Jan 4, 2010

We have three web servers in our web farm that are load balanced using the Network Load Balancing Manager in Windows 2003. The sites that run on these boxes use In-Proc ASP.NET session. Our assumption is that the balancing uses a "sticky" session because users seem to be assigned to a given server during their use of the application as well as there doesn't appear to be any session error where the session data is residing on a previous machine. My question is how can I 1) verify that our balancing configuration is using "sticky" sessions and 2) can someone explain the load balancing feature in Windows 2003 relative to ASP.NET web applications?

View 1 Replies

C# - Run A Daily Process In Shared Hosting Server?

Jan 2, 2011

I need to run a daily process at a given time. how to do it in ASP.NET/C#? web site is hosted in godaddy shared hosting server.

I've tried with timers but not working. I think this timers get reset with application pool recycling.

View 3 Replies

Url Rewriting - Urlrewriter Work On Web Server But Not On IIS 6 Shared Hosting?

Apr 25, 2010

anyone know how to "make work" urlrewriter.net component on IIS 6 ?
Actually i have this web.config section :

<section name="rewriter" requirePermission="false" type="Intelligencia.UrlRewriter.Configuration.RewriterConfigurationSectionHandler, Intelligencia.UrlRewriter" />
And the rule is, for example:
<rewrite url="~/tag/(.+)" to="~/default.aspx?tag=$1" />

It's work on the ASP.NET Developmnet server, but not when i go to my shared hosting web site !!! :(

View 1 Replies

IIS Configuration :: URL Routing Not Working On Shared Hosting Server

May 7, 2015

i have implemented URL Routing in asp.net website using article (URL...) and it working file offline on my local system but when im trying to run online (from my hosting site) then it is showing error..

HTTP Error 404.0 - Not Found..

The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.

View 1 Replies

Web Forms :: How To Set Default Start Page In Shared Hosting Server

Jul 2, 2012

How to set the startup page in asp.net, asp.net taking default.aspx as first page but I want to set the index.aspx instead of default.aspx in server ...

View 1 Replies

Crystal Reports :: Database Login Prompt On Shared Hosting Server?

Feb 21, 2011

I am trying to deploy crystal reports 2008 on shared server. Before publishing on the remote server i published it on the localhost while connecting it to remote sql server 2008 database. The report is shown perfactly but when i publish it on shared server it prompt me for login credentials. My hosting provider is arvixe and it support crystal report. In my popup database field is empty and locked use name field show the correct user name and password field is empty. I read somewhere it may be due to version conflict between my version and version on server.

View 9 Replies

IIS Configuration :: Unable To Connect To SQL Server Database Hosted In Shared Hosting

May 27, 2013

i have database that is stored on local.user should also be able to upload the database to online server . i am able to save it on local .But it is not saving on server.It shows request time out. Is it due to server not allowing external access.

View 1 Replies

SQL Server :: Windows Shared Hosting Error: Create Database Permission Denied In Database 'master'?

Mar 1, 2011

how I can correct an error. I've built the MVCMusicStore tutorial here:

http://mike-ciccone.com/Store/

The first time I visit the site and attempt a database connection I get this error:

Exception Details: System.Data.SqlClient.SqlException: CREATE DATABASE permission denied in database 'master'.

But when I refresh, it all works fine. I'm at a bit of a loss. I don't believe I'm attempting to create a database, but I realise that the error may not really have anything to do with that. This is hosted at GoDaddy shared hosting. The database was created and I used an SQL script to create the tables initially and populate the data. My connection string works as I can pull data from the database, but I do have
a feeling it will be a web.config setting that will correct this.

View 3 Replies

Load Balancing For The Website

Jul 27, 2010

I am working on asp.net (newbie) and I am trying to understand what it means to do "load balancing" for the web site. The website will be used by multiple users and resources (database, web service,..).

View 7 Replies

How To Manage Load Balancing

Feb 16, 2011

I am making a project for the university. When admission Starts, suddenly a lot of traffic comes at my site around 50000 to 100000 users. Site goes down therefore.

View 1 Replies

C# - Get DNS Name In Load Balancing Environment?

Mar 9, 2011

I have 4 servers participating in load balancing environment. The same ASP.NET application is being hosted in each server.

I would like to get the DNS Name regardless of the underlying server.

Request.Url.Host
Environment.MachineName
System.Net.Dns.GetHostName()

View 2 Replies

Shared Hosting With Services?

Nov 23, 2010

I was curious if there is a shared hosting platform for asp.net web sites that would allow me to setup a service that would do something at predetermined intervals. Dedicated hosting is not an option due to budget constraints.

So far, it looks like my solution will have to be to set an object in the cache and use the expired callback.

Has any one used the above method? and how successful was it?

Is there a better option or method than this?

View 1 Replies

Implement Load Balancing For A Web Application?

Mar 25, 2011

I have a asp.net website with separate web server, Application server and database server. Now I need to have configure load balancing with two web and Application server. I don't have any idea about load balancing. how to proceed with load balancing.

View 1 Replies

Get Visitor IP On Load Balancing Machine?

Mar 25, 2010

We are having two load balancing server. In that we have hosted a asp.net 3.5 application right now we are using request userhostaddress to get visitor ip but it is giving load balancer ip instead of real ip.

View 3 Replies

Is Silverlight More Friendly To Load - Balancing

Mar 1, 2010

I was discussing load-balancing with a colleague at lunch. I admit that I know very little about this topic. We were discussing the various ways of maintaing session in a ASP.NET application -- none of which suited the high performance load balancing that he was looking for. What about Silverlight? says I. As far as I know it is stateless, you've got the app running in the browser and you've got services on the server that feed/process data. Does Silverlight totally negate the need for Session state management? Is it more friendly to load-balancing? Is it something in between?

View 3 Replies

Full Cluster Vs Load Balancing

Sep 16, 2010

Is there any solutions that "increases power of a single machine" instead of traffic distribution between different hosts. I mean the following schema: "Central server" receives all requests and for its execution it provide "a copy of shared memory" to different hosts.

View 1 Replies

WCF / ASMX :: Load Balancing Using Web Service?

Jun 23, 2010

resently we are developing a windows product using dot net, combined withsas (another language). If sas not get installed in local machines then we are in need of using server machine which has sas with it, we are using socket programming to communicate with server machine,Problem is when more number of requests comes to the server for processing sas it is becoming slow, so we need Load balancing If we go with web service which is having same domain name but different ip address mapped using

View 2 Replies

Configuration :: Load Balancing Fail Over?

Nov 9, 2010

We are developing an ASP.NET eterprise level application. Customer wants to support for load balancing and fail over. Also customer need that if one server pc fails, end user should not notice that. is this possible? Will there be a timeout for the end user?

View 8 Replies

Database - Db4o On Shared Hosting With MVC

Feb 15, 2010

I'm wanting to use DB4o on an asp.net MVC project i'm working on but wondering if anyone has got this working on shared hosting plan, have contacted discountasp and asked them and they said go to the forum as they were not sure if they supported it or not or any configuration that would be needed. but the forum wont let my post on because its all filtered to only show comments they like the look of? anyone had any joy with this with another host and one that runs asp.net MVC as it should be run?

View 1 Replies

HttpContext.Current.Application During Load Balancing

Oct 13, 2010

I wanted to understand the behavior of HttpContext.Current.Application during the load balancing. I have read that session can be stored in disk hence can be retrieved from different servers. Is this true for HttpContext.Current.Application also. Does the keydata stored in one machine is accessible in other different machine too?

View 1 Replies

C# - Load Balancing And Web Images /Thumbimages/Thumbnails?

Mar 25, 2011

We are planning to introduce Load balancing in our server environment. Our site has lots of thumbnails (Thumbimages) to get displayed on the website. As all the images should be there under Web directory to get displayed on web site, do I need to maintain these TNs in all the servers? Is there any other way to accomplish this?

View 1 Replies

State Management :: Session Expires Very Quick On Hosting Server?

Feb 6, 2011

I have this setting in web config for session.

[Code]....

On localhost works well. On the hosting server expires very quickly. Sometimes after a minute, and sometimes after a few minutes.

I tried mode="StateServer" and mode="SQLServer", but first works the same, other doesn't work. The next problem is that End_Session in global.asax doesn't executes if mode is not InProc. And I need this.

How could I achive that session expires only when browser is closed or other url is typed. Just setting timeout doesn't work.

View 2 Replies

Convert Any Video To A Flv In A Shared Hosting Environment?

Jun 24, 2010

Is there anyway to convert any video that has been uploaded by the uplaod control to a flv fromat in a shared hosted enviroment or is there any dll etc to use ?.

View 8 Replies

Configuration :: Database Is Not Working In Shared Hosting?

Jul 13, 2010

i have just completed my website in asp.net using visual studio 2008 with sql server 2005 express edition.

my database is mdf file based..

i have uploaded my website in godaddy with the help of cute ftp..

but the problem is that my database is not working..

Is it ok to upload complete website along with database using cute ftp? or i have to create separate database for it and make connections...

i read somewhere that file based website doesnot required any connection, database is simply uploaded along with website..

View 2 Replies







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