C# - To Realize Auction Expiration
Mar 3, 2010How 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 RepliesHow 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 need expert advises about building an auction web site in general and I dont need code help.I stopped one year for developing web sites and I need to know which is more suitable and easy to extend to build this web site
If I used ASP.NET which ORM I should use or I dont have to use it ? and should I use expression web as the IDE ? I know also there is some good PHP frameworks like CodeIgniter, CakePHP ,etc... but which one is the best for all development cycle ? or should I use Joomla and just build plugins ?Which JS framework also is more suitable for build fast and cool UI ?
I learn fast so dont worry about the learning problems I just need expert advises about what I should use today to enforce the rules for building clean , standard and cool modern web site.
I have many projects ( site1.example.com, site2.example.com, site3.example.com etc ) and I should realize common login for these sites on .NET (web-services ? )
View 2 RepliesHow can I realize IE is closing in asp.net? I want to do something in sql when the user close the IE by IE close button.
View 2 RepliesI create asp.net mvc application and have task to create ability to move parts of page. For example, admin has ability to move poll to top page, to bottom, to center etc. Who tried to make it? My opinion - page has many divs, each div has webusercontrol, divs have position:absolute (or relative, not sure) and thru admin you can set which div has which values.
View 1 RepliesI have an auction site and already a end date, but what i don't know is how to do to show me how many days hours and minutes.
this is it what i have, on my page, and it is showing the end date, but how do i do, to show a countdown
This is .cs
stoptime.Text = dr["slut"].ToString();
.aspx
<asp:Label id="stoptime" runat="server" Font-Bold="true" ForeColor="#0066FF" Font-Size="Small"></asp:Label>
IŽd like to know what is the best option to develope a Auction site like Ebay with ASP .NET 4.0:
MVC 2.0
WebForms
I only worked with WebForms, but I have time to learn MVC if is the best option.. What you think?
I'm developing an online auction with time limit.
The ending time period is only for one opened auction.
After logging into the site I show the time left for the open auction. The time is calculated in this way:
EndDateTime = Date and Time of end of auction;
DateTime.Now() = current Date and Time [code]....
The problem is that when I login from different browsers at the same time the browsers show a different count down.
I want to realize the following with AJAX and .NET, but I don't know the best way to do it.Person A comes to the website, clicks a button 'I want to chat'. Then Person B comes and he should see a list where he can choose 'chat with A'.I have two questions:- What is the best way to address B's message to A? After B has sent his message to the server, how does the message get to A?- Is it possible to invoke a "update-chat" function for A when a message for him arrives? (Of course, A's browser could ask the server 'do you have a message for me?' every second, but this seems not a good solution.
View 5 RepliesHere is my web.sitemap code:
[Code]....
I wanna to show bread crumbs navigation like:
Home > Column1 > Content
the problem is: "~/Index.aspx" and "~/Column.aspx?ColumnId=1" are actual URLs and navigation bar: "Home > Column1" really works,
but "~/Content.aspx?ColumnId=1" is only the beginning part of actual dynamic URL, for example: it may be
~/Content.aspx?ColumnId=1&NewsId=12598 or ~/Content.aspx?ColumnId=1&NewsId=37215
all the previous Urls are articles of Column1 with same "~/Content.aspx?ColumnId=1" but are followed with different "&NewsId=number".
So, how can I realize this kind of navigation bar?
Home > Column1 > Content
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?
I'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 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 RepliesWhat may be the disadvantages of enable content expiration in IIS 6 ?
View 1 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 RepliesIn an ASP.NET MVC2 app, we have the standard login action...
if (ValidateUser(model.Email, model.Password)
{
FormsAuthentication.SetAuthCookie(model.Email, model.RememberMe);
[code]...
I don't know if the following is possible or not but in brief, here is what I'm trying to achieve:
1. When a user requests to view a document, they click on a link (could be other) which contains an encrypted query string containing data required to retrieve the relevant document. i.e.[URL]
2. I want to ensure that if after x minutes the user goes back to their history and select the link again or re-type the same url as above that it will not request the document and redirect them to a page letting them know that the requested document "link" is no longer valid.
I don't want to rely on cookies or sessions, so thought that maybe there would be a way to add a datetime token at the end of the existing url but this needs to be done at run-time as the url is already predefined when the link is created, so I'm not sure how can I do this?
ideally, I'd like something like this [URL] where the token would contain the date & time when the link was clicked.
Once re-requested, I would decrypt the token and validate it again the server time and if it was over the x minutes defined, it would redirect me to the "link is no longer valid" page.
I have a scenario in my application that I need to display session expiration time to the user. I set session expiration as 30 minutes in my application, 5 minutes before the session expiration, I need to show message to user that the session is going to expire.
How can I will do this implementation, I am using VS 2010 + MVC 2.0 + JQuery.
I want a specific session variable (in my case Session["level"]) to expire either on the normal 20 min. timer or at 19:30 every day. Because I change a value in my database everyday at 19:30 and I want this session variable to be related to that value. Is this possible?
View 1 Replies