Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: C# ASP.NET
Consider that whenever a user writes a url in his browser after my domain i.e
I want that all this url should be automativally redirected in my Default.aspx(i.e my initial page ) so that i can later on use in to create my own search in C# in Default.aspx.cs -->pageload()event.
Please note: I should be able to read the url given by user and not the
Plz guide me with the same.
Posted 7-Jan-13 5:51am
Mathlab at 7-Jan-13 11:05am
If you are using IIS to host your site you need to look up ISAPI, you can script so that all requests go to your default page

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 277
1 Maciej Los 210
2 BillWoodruff 205
3 Jochen Arndt 180
4 DamithSL 165
0 OriginalGriff 5,130
1 DamithSL 4,157
2 Maciej Los 3,670
3 Kornfeld Eliyahu Peter 3,470
4 Sergey Alexandrovich Kryukov 2,821

Advertise | Privacy | Mobile
Web04 | 2.8.141216.1 | Last Updated 7 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100