Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Adding query string to response redirect ASP VB.NET

I'm trying to add the value from my query string to a response redirect. I've added my code below, any help would be great.

If Boolean.Parse(ConfigurationManager.AppSettings.Item("Development")) Then
            If Request.QueryString("ABC") = "Y" Then
                Session("Website") = "abc"
            End If  
            If Not Request.QueryString("LOCATION") = "" Then
                Response.Redirect "mysite.co.uk/location/" & Request.QueryString("LOCATION")
            End If          
        End If
like image 322
huddds Avatar asked Jan 31 '26 07:01

huddds


1 Answers

Response.Redirect("Yourpage.aspx?UserId="+location);
like image 183
Vivekh Avatar answered Feb 01 '26 22:02

Vivekh



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!