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
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
fallingbehind
NA
1
0
Redirecting to a dir on server
Dec 13 2003 5:55 AM
Hey guys, new to the forums. I have a quick question, let me explain. I have 2 domains pointing to one server, and I'd like them to each bounce to a different folder on the server. I know you can do this with Response.Redirect, but what would the code be? I've tried this: private void Page_Load(object sender, System.EventArgs e) { string ClientURL = Convert.ToString(Request.ServerVariables["SERVER_NAME"]).ToUpper(); if (ClientURL.IndexOf("evasionaz") > -1) { Response.Redirect("/evasion/"); } else if (ClientURL.IndexOf("entropyx") > -1) { Response.Redirect("/entropy"); } } but that didn't work, anyone know how to work this out?
Reply
Answers (
2
)
Export Data Grid to Excel ........doubt........ ???
file download