Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

I have to send data throug querystring from one page to
another. But it should not be displayed in URL. How it is
possible?

Answer Posted / santosh

string url = "http://localhost:4351/WebSite8/Default5.aspx?" + TextBox1.Text;

Uri weburi = new Uri(url);
string query = weburi.Query;
string weburl = url.Substring(0, url.Length - query.Length);
Response.Redirect(weburl);

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different types of sessions in asp.net? Name them?

1159


Define web.config in .net?

1038


What is a SESSION and APPLICATION object?

1000


Explain what benefit does your code receive if you decorate it with attributes demanding specific security permissions?

961


How to fetch a data from one table to another table in asp.net ?

1007


How does asp net store session ids by default?

938


What is client side state management?

911


What are directives in asp.net? List down all the important directives.

891


Explain login controls.

1068


How do you handle server controls?

1095


How does u call and execute a sp in .net?

950


Mention the namespace that is used to include .net data provider for sql server in .net code?

915


How do session tokens work?

906


What websites use asp.net?

992


Asp pages that worked pefectly on windows 2000 server and iis 5.0 do not work on windows 2003 server with iis 6.0. Asp.net pages work fine. Why?

938