Web Forms :: How To Make A Session Live Until System Shutdown
Sep 11, 2012how to session keep live until system shutdown like asp.forum session
View 1 Replieshow to session keep live until system shutdown like asp.forum session
View 1 Repliesi have server and that can be accessed by so many agent systems.Through agent system we can give the builds to server .after finishing build, agent system will go to idle state. the thing is that i need to find out the idle agent systems and using my application i need to shutdown that idle systems .i need to check every time for idle agent systems
View 3 Repliesturn off user system when he open the anyname.aspx page in browser or power off the moniter or stop (off )the cpu fan or controling speed of fan... or something like this?
View 12 RepliesIs it OK to use css optimizers to before to make site live. When we can't to any other server side compression techniques (gzip, combining, sass, less etc)I want to make CSS file short and readable. How to use these tools without loosing css functionality. what options we should use and what not.
View 4 Repliesi am searching about how to make online live audio stream, (like radio),how to make this with asp.net?
View 3 RepliesThis is the strangest problem im facing(may be i missed something). The application works fine locally, but when uploaded on the live server. the session values are not retrieved properly.
i have stored a value in a session in master page's code behind. and afte the page is redirected is to another page, there im not able to retrieve the session value.
why this is hapening.. i remind you this is working perfectly on local server. problem is only when published on live server.
I am trying to differentiate between a debugging session on the localhost and a live environment in terms of calls to the WS.
View 5 RepliesI don't know if this is the right place to post, anyway:Once in a while the application pool of my website has stopped. After taking a look into the Windows logs, In can see in the System log the following: first I see 5 warnings, and then an error. The warning is:"A process serving application pool 'domain.com' suffered a fatal communication error with the Windows Process Activation Service. The process id was '1568'. The data field contains the error number."The process id is different for all 5 warnings. Then the error message is:Application pool 'domain.com' is being automatically disabled due to a series of failures in the process(es) serving that application pool.The warning:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-WAS" Guid="{524B5D04-133C-4A62-8362-64E8EDB9CE40}" EventSourceName="WAS" />
[code]...
Have not run the ASP.NET Development Server for a while. Today I copied a production website to my workstation and ran it with VS 2008. The following error message popped up. What is the problem with the ASP.NET development Server on my workstation? The website on the Production server still ran okay.Unable to make the session state request to the session state server. Please ensure that the ASP.NET State service is started and that the client and server ports are the same. If the server is on a remote machine, please ensure that it accepts remote requests by checking the value of KEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesaspnet_stateParametersAllowRemoteConnection.
If the server is on the local machine, and if the before mentioned registry value does not exist or is set to 0, then the state server connection string must use either 'localhost' or '127.0.0.1' as the server name.
Is there any way to make application works on same system where it is deployed and will not works if any one copies application and database and deployed to other system, how to prevent that.
View 1 RepliesLive Chat is a very famous tool on websites, and the operators use a special web/windows interface to talk to the clients.What I want to implement is to specify some email accounts, and when the client click's the live chat and starts typing, his/her instant messages are delivered to the available email account. My operators can talk back to them as if they are on their friends list.I don't need to require any login or registration for clients to use this Live Chat.So are there any ideas about how to implement such a thing? Are there any good third-party-modules that already do that?
View 4 RepliesI am using a generic handler (indicator.ashx) to create a graphic that is overlayed from information from a table (called LIVE) from our SQL database. This is working very well and I am very happy with the results.
However I am having an undesirable issue where the query string that is used for this is also being accessed by another page (called ReceiveLive.aspx) which is populating our LIVE table with data when we don't want this. I have been able to track this issue down to our generic handler that seems to populate this table with data whenever the handler is accessed.
The query string that is used to access our graphic through our generic handler is
http://mydomain.com/indicator.ashx?ID=ABC001.
Our other page that writes data to our LIVE database used the query string
http://mydomain.com/live.aspx?ID=ABC001 which is normally only accessed by a small piece of software that sits on the users PC and sends the data when necessary.
My question is this: How do I prevent data from being written to our LIVE table via the Live.aspx page everytime a query string is processed by my indicator.ashx is accessed?
Here is a use case of my login using a CustomMembershipProvider
User Logs in MembershipProvider validates user account User property of Membership is set to user details coming from the database An authentication ticket is created Forms authentication cookie is added. User is logged in
Here is a use case of my problem Stop whe web development server Start the web development server, and user is still logged in (due to cookie?) User property Membership is set to null due to server restart/failure Application throws exception due to null user value
The only solution I could think off is to clear all cookies on Application_Start() but I don't know how is that even possible as Request is out of context during application start.
Here is the code:
[Code].....
I have a dillemma.. or more of a design hump.
I have a web application that allows a number of teams to be assigned placement rankings, thus giving the players on that particular team.. seed points.
I am stuck as to how to use a Gridview to display the Teams, then allow a ranking to be assigned to each team.
(Dont allow more than one number per rank [no two teams can ever tie, or have the same finishing place.
I have in my ASP.NET static variable that flushes itself to DB every X insertions.Problem is, if I publish the application , the IIS process is killed with all my static material.How can I preserve it - or how can I flush it once ASP.NET application is shutting down?
View 3 RepliesI am able to get a token with Windows Live Delegate Authentication samples provided by Microsoft.
Now I want to access emails (New, Read, Unread etc) from live account. How can I achieve it with the help of Windows Live Delegate Authentication? Are there any examples for the same?
The Samples given by Microsoft are not related to emails.
I am using the Forms Authentication in my application.
I have a master page and I have a default content page in the defaultUrl of the Forms Authentication. I am facing an issue: when the session expires the images and the css of the Master Page are not available.
How can I make the images available in the master page after the session expire?
I have used Quartz.Net for queuing and sending emails from my application. I don't know how each scheduled job responds to application instance stopping, pausing or shutting down. The IJob interface has no method that can notify a running job about these events.My question is how can I handle these cases when they occur so that the job can exit while leaving the application and the data in a stable state?
View 1 RepliesIn my project i am binding a gridview from session and i want to make it editable. i handled the rowediting,rowupdating and cancelediting event as suppose to and at run time i bound my data to the grid cells in the rowdatebound like this
if (e.Row.RowType == DataControlRowType.DataRow)
{ RequiredPaper paper = (RequiredPaper)e.Row.DataItem;
e.Row.Cells[0].Text = paper.PaperDesc;
}
and every time i click on the edit link in the grid view the cell never turns in the edit mode so i can not edit it!
i want to make private chat system in asp.net
View 8 RepliesMy application is running in a shared hosting environment. I do have a dedicated App Pool for my app. I've been doing some testing with 1st visits and precompile performance and have been tracking when my application starts up and shuts down.
In my Global.asax I have some logging code in Application_Start and Application_End. I can see from my logs generally when the application is idle and shuts down, then someone visits and it starts back up.
But, I also see cases where a shutdown is logged and then followed by another shutdown about 13 minutes later; without a startup in the middle.
I also see instances where there are two Startups in a row. I'm guessing these might be a recycle, but why wouldn't there be a shutdown log entry?
What I'd really like to know if there is a better way to track when my application starts, when it shuts down and if it is shutdown due to an idle pool, or from a recycle. I don't have access to the Windows Event Log so I need to do this from my app if possible.
I have two views in the same folder. View.aspx and a partial
View.ascx
In view.aspx i call RenderPartial
<% Html.RenderPartial("View",MyModel); %>
and MVC renders View.aspx not the partial View.ascx. The net result is an endless loop which eventually causes IIS to shutdown the application.Personally I was expecting the partial view to be rendered.
I want to make google like intelligence searching system for searching data from list in my project. i mean when i write something in google bar for searching it automatically start showing some related words in down side. how can i achieve that search in my project? should i use some API ?
View 2 RepliesI developed a website on VS2008, which I then published by right-clicking. I can locally browse that website using[URL]
but when I try giving hostname in place of localhost it fails to resolve. Can this mapping be specified in hosts file?
What i want to ask is if a user has 2 accounts and
1)Log with the first account and a session variable is assigned, let's say var1
2)Maintaining his account as logged he logs in with another account on another page and again a session variable with name var1 is assigned.
Now the question is.Will the session on the user's first login will be changed?
Or this time the session behaves more like an expanded viewstate?
Remember the user is logging form the same computer,same open browser.
(i should be testing this but unfortunately VS2003 here).