Disadvantages Of Enable Content Expiration In IIS?
Nov 5, 2010What may be the disadvantages of enable content expiration in IIS 6 ?
View 1 RepliesWhat may be the disadvantages of enable content expiration in IIS 6 ?
View 1 RepliesI am in need for setting content expiration to immediate for certain parts of my website. Basically we want to expire the "shopping" pages but the browsing pages shouldn't expire allowing users the ease of using the back button to browse around. Is there a way to enable it per page, master page, folder, or something?
View 1 Replies[Code]....
I know there are a couple of posts about this already, but I still can't figure it out.
I'm using Table Adapters method called GetBBNewsByNewsID with the following SQL query:
SELECT Description
FROM BB_News
WHERE (NewsID = @NewsId)
The table has columns: NewsID, Header and Description. I only chose Description cuz that's all I wanted to show.
This is my code (aspx.cs):
[code]....
The error I keep getting is:
Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints.
What are the advantages and disadvantages of using caching in an asp.net application?
View 2 Replieswhat disadvantages are there to use inner HTML to populate a div tag consider, all scenarios possible.
View 2 RepliesWhen do you need IIS Web Garden feature. What's pro's and con's?
View 2 Repliesis there any disadvantages if we use more UpdatePanels in our application.
View 4 RepliesWhats are the major disadvantages of using Membership API? And when should i consider relying on using manual coding?
View 1 RepliesWe have an application that has quite an extensive APP_Code directory (about 150 functions). The functions are split across multiple files and then classes and namespaces.
On numerous pages we have to create numerous instances of the classes to be able to access the functionality, which can get very repetitive and means we're repeating code on every page declaring the instance etc.
As far as I can tell, a way to navigate this issue, is to make the functions Public Shared (as opposed to just Public functions).
I haven't used the application variables in my asp.net web applications. Im using asp.net2.0. Is there any disadvantages of using applicationvariables.
View 1 Replieswhat is the disadvantages of using SqlDataSource Control? apart from flexibility and more control on the retrieved data ;why most of the web developer prefer using code behind (db connection) instead of SqlDataSource Control?
View 5 RepliesI am searching for the advantages and disadvantages of the explicit interface implementation
View 1 RepliesI would like to know if the forieng key should be nullable or not. We shuld struggle for not making it nullable as much as possible or it doenst matter.
View 1 Replieswhat are the advantages/disadvantages of dataset and databinding?
View 3 RepliesI have the following code snippet :
[Code]....
With code behind :[Code]....
Why do I have to press the "Enable" button twice to enable a disabled ComboBox ?
I'm creating image (jpg) at run time in my application (ASP.NET/C# 3.0). I need to delete the created image after 30 mins. So is it possible to set expiration to the image after 30 mins when creating the image like setting expiration to cookies.
View 3 RepliesI'm programatically sending an email and I want to set it to expire after a certain amount of time. I tried using the following but it doesn't seem to work:
message.Headers.Add("Expires", Now.AddMinutes(2))
I can see the value in the header but the email doesn't actually expire.
What happens in Asp.Net MVC 2.0, when next request does not come ever to retrieve value from TempData. Is it stored permanently or expires?
View 1 RepliesI am not sure if I am asking this question correctly. Sometimes when you don't know enough, you may not know what to ask. I want to set up memberships with an ASP.NET website. The memberships will have a 14 day free trial period. After that, the user will need to pay a fee if they wish to continue to access the website. I am not sure how to accomplish this. After adding a membership database to the website, setting up roles ect., what do I do next? Do I need to make adjustments to the tables of the database, or write some code somewhere in the application? I have never done this exercise before, Logically, I know that I need to implement something that keeps track of expiration date. Also, how do I prevent a user from just making up new user names and credentialing?
View 4 RepliesI am creating some cookies in my ASP.NET application. These cookies expire 10 minutes after they have been created. I follow the approach described on MSDN as shown here:[URL]
My question is, when a cookie "expires", what happens? Does the browser automatically delete the cookie? Is it our responsibility as developers to remove the cookies if they exist and have expired?
1) How/where do I set the lifetime of the session cookie in my web application when using an STS to get claims? From what I can tell, it seems I can only do this programmatically in the erviceConfigurationCreated event.
2) How/where can I make sure that the expiration is sliding?
How to realize auction expiration? Make it inactive after 1-3-5 days? Something like eBay?I am using asp.net c#.I have "active" boolean field in my auction table.
View 1 RepliesI've been doing web development for a while and have yet to read a good answer to this question: iven a page that executes transactions through a postback, how do you prevent the user from duplicating the transaction when they do something as simple as hit the back button? I've explored trying expire the cache but I must admit I'm lacking in my understanding of ASP.NET caching. What is the approach I should use to make the old request stale and invalid?
View 2 RepliesI have asp.net application. I'm using external javascript files in my application. When I test my site with page speed tool from google it says that following resources are missing a cache expiration. also some of the images and css files.
View 2 Repliesam a ASP.NET developer using Facebook Developer Toolkit to develop a facebook flash application with flash developer.When the user plays the game for a certain period of time, there are chances that the facebook session expires and I can't call any Facebook API for processing as a result.
View 2 Replies