public override System.Web.Hosting.VirtualFile GetFile(string virtualPath)
{
if (virtualPath.EndsWith("YourVirtualPath.aspx"))
{
if (HttpContext.Current.Items["Value"] != null)
HttpContext.Current.Response.Redirect(HttpContext.Current.Items["Value"].ToString());
"And whoever is removed away from the Fire and admitted to Paradise, he indeed is successful." (The Holy Quran)
Excellent Windows VPS Hosting Imran Baloch MVP, MVB, MCP, MCTS, MCPD
imran_ku07
All-Star
45815 Points
7698 Posts
MVP
Re: Get viewsource data from HTML and yet set regular expression to ignore <TD></TD>
Nov 05, 2009 06:11 AM|LINK
I hope this will be your last question,
protected void Page_Init(object sender, EventArgs e) { if (!IsPostBack) { HttpContext.Current.Items["Value"] = DateTime.Now.Millisecond.ToString()+".html";public override System.Web.Hosting.VirtualFile GetFile(string virtualPath) { if (virtualPath.EndsWith("YourVirtualPath.aspx")) { if (HttpContext.Current.Items["Value"] != null) HttpContext.Current.Response.Redirect(HttpContext.Current.Items["Value"].ToString());Excellent Windows VPS Hosting
Imran Baloch MVP, MVB, MCP, MCTS, MCPD