An alternative to UBB.threads
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
FLocal/FLocal.IISHandler/handlers/request/ReturnPostHandler.cs

24 lines
539 B

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Linq;
namespace FLocal.IISHandler.handlers.request {
abstract class ReturnPostHandler : AbstractPostHandler {
protected override string templateName {
get {
return null;
}
}
abstract protected void _Do(WebContext context);
protected override XElement[] Do(WebContext context) {
this._Do(context);
throw new RedirectException(context.httprequest.UrlReferrer.ToString());
}
}
}