Congratulations - C# Corner Q4, 2022 MVPs Announced
Why Join
Become a member
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
C# Corner Home
Technologies
Monthly Leaders
ASK A QUESTION
Forum guidelines
Areeb Quazi
0
110
0
How do I check entered URL is valid or not
Sep 20 2013 2:19 AM
Hi,
I have requirement to validate URL i.e. If user put invalid URL then application should show generic error page.
For ex: when user enter URL in browser like ie8
correct URl is: www.abc.com/hr/test.aspx (then test page should display)
if user puts: www.abc.com/hr/xyz (with extension or without extension) then application should redirect to generic error page.
I am using asp.net 4.0 and my application have multiple folders like admin/user etc and each folder have multiple web pages.
Please suggest how can I achieve this functionality.
Thanks
Reply
Answers (
7
)
Path Format Not Supported.
Causing Session timeout within 5 min even I set 20 Min