Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:778362
More Search Options
RSS Available
Matching Posts
The ability to 'peek' items with sliding expiration in the cache
This is something that I wanted for a long time, really wish to see this in the upcoming release of ASP.NET. In a few words, I cache items in the ASP.NET cache with sliding expiration, in some cases I need to peek an item (i.e. get its value) without affecting the sliding expiration time. I really need this. I asked a question about this long time ago: http://forums.asp.net/p/1277310/2432439.aspx
Posted to
Feature Requests
(Forum)
by
waleefi
on 7/29/2009
Filed under: cache sliding-expiration
Re: How to drop/discard a Request in ASP.NET
Thanks for your answer, actually I'm not trying to stop them from connecting to my app it's just that I don't want to send any response back to them, obviously you assumed I want to do this to block DOS attacks but this is not really the case, DOS attacks are best handled at the firewall level not even at the web server level, so, basically I'm trying to use this black list to stop spammers and others who abuse the site, and I don't intend to keep their IPs forever in that list
Posted to
HttpHandlers and HttpModules
(Forum)
by
waleefi
on 11/2/2008
Re: httpModule and default documents
No problem buddy, good luck with your project.
Posted to
HttpHandlers and HttpModules
(Forum)
by
waleefi
on 11/2/2008
Re: httpModule and default documents
Is the problem with the base URL only or with all default documents in other directories?
Posted to
HttpHandlers and HttpModules
(Forum)
by
waleefi
on 11/1/2008
Re: How to drop/discard a Request in ASP.NET
Hi, thanks a lot for your reply. Well, I assume you're talking about using Exit Sub in the BeginRequest handler, actually this will not stop the response from being sent to the client, it will only skip the rest of the code in the BeginRequest and prevent it from being executed. In my case I don't want to return any message to the visitor and I don't care if they get upset or not because it's simply a black list of IPs (= bad guys) that I want to ignore any requests coming from them
Posted to
HttpHandlers and HttpModules
(Forum)
by
waleefi
on 11/1/2008
How to drop/discard a Request in ASP.NET
I'm trying to figure out how to drop/discard a request (in the BeginRequest event handler in an HttpModule), any idea how I can do this? Calling Response.End() sends the output to the user which is not what I want. Response.Close() closes the socket but as far I know (and correct me if I'm wrong) it also sends a packet to the client to notify them that the connection was closed. I'm trying to implement a black list of IPs in my app, I just want to drop/ignore/discard the request as if
Posted to
HttpHandlers and HttpModules
(Forum)
by
waleefi
on 10/31/2008
Re: Avoiding Spam Filters for Legitimate Mail
I'm afraid it will impractical in my case to ask the users to whitelist my domain, what I'm trying to do is not get blocked in the first place, and anyway, I mentioned before, I do have a spam filter on my website (it's kind of basic though so there's a possibility some messages might get through) besides the mail is sent by members to other members so there shouldn't be a large number of messages in a short time (a main characteristic of spam), so I don't really expect my
Posted to
Getting Started
(Forum)
by
waleefi
on 10/11/2008
Re: Avoiding Spam Filters for Legitimate Mail
Hi Mike, thanks again for your reply, well, I probably should've explained this better but actually it's not the whole email address that will be randomly generated, it's just the first part, if you look at my example in my original post you'll find 0fcc717f-43f9-4dbc-99ad-166bb22f1c2b@mysite.com , the point is that the mail still comes from my domain (the domain will not be randomly generated it's only the first part), so a DNS lookup should prove that the email exists ...
Posted to
Getting Started
(Forum)
by
waleefi
on 10/11/2008
Re: Avoiding Spam Filters for Legitimate Mail
but how do the webmail providers know whether the address exists or not? they don't check the sender's address in every message, do they? I mean this is a lot of overhead so I don't think they do this .. the whole idea in using a randomly generated address is that if I use one email address to send the messages to members, something like newmessages@mysite.com for example, and any member gets a spam message from another member they could mark the message as spam, this will most probably
Posted to
Getting Started
(Forum)
by
waleefi
on 10/10/2008
Re: Avoiding Spam Filters for Legitimate Mail
[quote user="Mikesdotnetting"]Using a randomly generated FROM address is a pretty sure way to get most of the messages blocked by filters, so that no one gets any legitimate messages.[/quote] Hi Mike, thanks a lot for your informative answer, I wish you could give more details on how using a randomly generated address will get any messages sent from my domain blocked by the spam filters of free webmail providers ...
Posted to
Getting Started
(Forum)
by
waleefi
on 10/9/2008
Page 1 of 3 (28 items) 1
2
3
Next >
ASP.NET:
Using WCF RIA Services without Silverlight in Visual Studio 2010 for building 3 tier ASP.NET Applications
Channel 9:
Ping 41: Top stories of 2009, bing, windows 7, laptop hunters, azure
Channel 9:
endpoint.tv - Windows Server AppFabric in action monitoring and troubleshooting
Channel 10:
Windows Marketplace for Mobile Opens to 6.0, 6.1 Phones
Channel 9:
Rx API in depth: Hot and Cold observables
ASP.NET:
Back in Business
TechNet Edge:
Hacking Windows 7 Interview
WindowsClient:
Windows Client Developer Roundup for 12/14/2009
Channel 9:
TWC9: Silverlight Web cam apps, VS extensibility, Explorer shell extensions
ASP.NET:
Visual Studio Project Sample Loading Error: Assembly could not be loaded and will be ignored. Could not load file or assembly or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
WindowsClient:
Working with Windows 7 Taskbar Thumbnail Buttons with WPF 4
WindowsClient:
overflow:hidden -- a fix to a CSS problem
TechNet Edge:
Empowering your teams with SharePoint
TechNet Edge:
TechNet Radio: Expert presents: Creating and Executing a Comprehensive 2007 Office Deployment
ASP.NET:
ViewModel Pattern for Silverlight - Options for Hooking a View to its Model
Channel 9:
Rx API in depth: Concat, Catch and OnErrorResumeNext
Channel 10:
PowerPoint Twitter Tools Updated
Channel 10:
Windows Live Messenger Arrives on Nokia Phones
Channel 9:
Peer to Peer Series Part 7: PeerChannel Basics
TechNet Edge:
Visio: Drawing on Experience with Saveen Reddy
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online