TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Query String Secure in ASP.NET
Ashish Srivastava
Dec 15
2015
Code
1.4
k
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
expand
protected
override
void
OnPreInit(EventArgs e)
{
//Start Secure query string method // 20 Nov 2015 Ashish Srivastava
Uri Obj =
null
;
if
(Request.UrlReferrer == Obj)
{
string
str = Path.GetDirectoryName(
this
.Page.AppRelativeVirtualPath.ToString());
//Redirect to page
Response.Redirect(
"redirectpage.aspx"
);
}
}
ASP.NET
Query string secure