From: Alexey Smirnov on
On Sep 25, 4:34 pm, "Gregory A. Beamer"
<NoSpamMgbwo...(a)comcast.netNoSpamM> wrote:
> "Hemant" <Hem...(a)nomail.com> wrote innews:erBGQqZPKHA.1268(a)TK2MSFTNGP04.phx.gbl:
>
> > Hi ,
> > Thanks for your replies.
> > I am doing url rewriting .
> > In Application_BeginRequest i want to get ID's of the string.
> > At this function I call the Context.Rewrite Path to Redirect the
> > correct page
> > What I need that I want to store that ID  some where so that I can
> > pass that ID to the Right page.
> > For Example :
> > My URL iswww.Test.com/book-asp.html
> > But the actual URL for this iswww.Test.com/Product.aspx?ID= 100
> > I want to get this ID at that function so that I can call the correct
> > page with correct ID.
> > Thanks,
> > Hemant
>
> The norm to URL rewrite is using an HTTP Handler rather than trying to
> write it in your ASP.NET application. There are plenty of web pages that
> describe setting up this type of URL rewrite.
>
> If you can go to 3.5 SP1, you can also use URL Routing, which will also
> be a part of .NET 4.0.
>
> Peace and Grace,
>
> --
> Gregory A. Beamer
> MVP; MCP: +I, SE, SD, DBA
>
> Twitter: @gbworld
> Blog:http://gregorybeamer.spaces.live.com
>
> My vacation and childhood cancer awareness site:http://www.crazycancertour.com
>
> *******************************************
> |      Think outside the box!             |
> *******************************************

in this case I would suggest IIS 7 which has URL Rewrite module
From: Gregory A. Beamer on
Alexey Smirnov <alexey.smirnov(a)gmail.com> wrote in
news:5b326097-610e-48a8-a5b1-dfc26f38105f(a)l34g2000vba.googlegroups.com:


> in this case I would suggest IIS 7 which has URL Rewrite module

Forgot about that. Thanks!

Peace and Grace,


--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

Twitter: @gbworld
Blog: http://gregorybeamer.spaces.live.com

My vacation and childhood cancer awareness site:
http://www.crazycancertour.com

*******************************************
| Think outside the box! |
*******************************************
From: Hemant on
thanks .
"Gregory A. Beamer" <NoSpamMgbworld(a)comcast.netNoSpamM> wrote in message
news:Xns9C918F8A96D90gbworld(a)207.46.248.16...
> Alexey Smirnov <alexey.smirnov(a)gmail.com> wrote in
> news:5b326097-610e-48a8-a5b1-dfc26f38105f(a)l34g2000vba.googlegroups.com:
>
>
>> in this case I would suggest IIS 7 which has URL Rewrite module
>
> Forgot about that. Thanks!
>
> Peace and Grace,
>
>
> --
> Gregory A. Beamer
> MVP; MCP: +I, SE, SD, DBA
>
> Twitter: @gbworld
> Blog: http://gregorybeamer.spaces.live.com
>
> My vacation and childhood cancer awareness site:
> http://www.crazycancertour.com
>
> *******************************************
> | Think outside the box! |
> *******************************************