Click here to Skip to main content
15,887,214 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: How to redirect Url Dynamically Pin
Abhishek Sur4-Nov-09 21:35
professionalAbhishek Sur4-Nov-09 21:35 
Hari1919 wrote:
http://sitename/search.aspx/keyword/Location


How about this
http://sitename/search.aspx?kw=seol&location=brigetown

It is easier if you show using query string bcos you can use Request.QueryString.
Otherwise you need to create one handler that might process your special request and get the values from /keyword/location.


Hari1919 wrote:
he values of Keyword and Location is stored in session


You dont need to store this in session as you send already in querystring. Use
Response.Redirect("search.aspx/keyword/Location");

Rose | [Rose]

Abhishek Sur
Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->

Simplify Code Using NDepend
Basics of Bing Search API using .NET
Microsoft Bing MAP using Javascript

GeneralRe: How to redirect Url Dynamically Pin
Nishant Singh5-Nov-09 0:09
Nishant Singh5-Nov-09 0:09 
QuestionDo I need to call return statement after a Response.Redirect method ? Pin
Nadia Monalisa4-Nov-09 20:24
Nadia Monalisa4-Nov-09 20:24 
AnswerRe: Do I need to call return statement after a Response.Redirect method ? Pin
padmanabhan N4-Nov-09 21:23
padmanabhan N4-Nov-09 21:23 
AnswerRe: Do I need to call return statement after a Response.Redirect method ? Pin
m@dhu4-Nov-09 21:55
m@dhu4-Nov-09 21:55 
AnswerRe: Do I need to call return statement after a Response.Redirect method ? Pin
Nishant Singh5-Nov-09 0:01
Nishant Singh5-Nov-09 0:01 
AnswerRe: Do I need to call return statement after a Response.Redirect method ? Pin
sandamalsilva5-Nov-09 5:54
sandamalsilva5-Nov-09 5:54 
GeneralRe: Do I need to call return statement after a Response.Redirect method ? Pin
Nadia Monalisa5-Nov-09 12:20
Nadia Monalisa5-Nov-09 12:20 
Questionquery Pin
mylogics4-Nov-09 20:20
professionalmylogics4-Nov-09 20:20 
AnswerRe: query Pin
SeMartens4-Nov-09 20:22
SeMartens4-Nov-09 20:22 
GeneralRe: query Pin
mylogics4-Nov-09 20:26
professionalmylogics4-Nov-09 20:26 
GeneralRe: query Pin
SeMartens4-Nov-09 20:28
SeMartens4-Nov-09 20:28 
GeneralRe: query Pin
mylogics4-Nov-09 21:06
professionalmylogics4-Nov-09 21:06 
GeneralRe: query Pin
SeMartens4-Nov-09 21:14
SeMartens4-Nov-09 21:14 
AnswerRe: query Pin
FEMDEV4-Nov-09 23:58
FEMDEV4-Nov-09 23:58 
Questionhow to replace null in SQL left join? Pin
Subin Mavunkal4-Nov-09 19:34
Subin Mavunkal4-Nov-09 19:34 
AnswerRe: how to replace null in SQL left join? Pin
dan!sh 4-Nov-09 20:19
professional dan!sh 4-Nov-09 20:19 
QuestionDo you see anything wrong with this code? Pin
AlexeiXX34-Nov-09 17:46
AlexeiXX34-Nov-09 17:46 
Questionhow to keep the session objects value for a long time. Pin
santu3214-Nov-09 17:00
santu3214-Nov-09 17:00 
AnswerRe: how to keep the session objects value for a long time. Pin
_Damian S_4-Nov-09 17:24
professional_Damian S_4-Nov-09 17:24 
GeneralRe: how to keep the session objects value for a long time. Pin
santu3214-Nov-09 17:49
santu3214-Nov-09 17:49 
GeneralRe: how to keep the session objects value for a long time. Pin
_Damian S_4-Nov-09 18:17
professional_Damian S_4-Nov-09 18:17 
AnswerRe: how to keep the session objects value for a long time. Pin
padmanabhan N4-Nov-09 17:26
padmanabhan N4-Nov-09 17:26 
GeneralRe: how to keep the session objects value for a long time. Pin
santu3214-Nov-09 17:50
santu3214-Nov-09 17:50 
GeneralRe: how to keep the session objects value for a long time. Pin
padmanabhan N4-Nov-09 18:00
padmanabhan N4-Nov-09 18:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.