how to restrict the users not to enter any value on the address bar.
-
my project consists of several aspx pages where it is navigating to one page to another pages.but wh navigating the address bar is visble to the user and it can be editable .so how to restrict the user not to edit the address bar ..or not to do anything to the address bar content.
-
my project consists of several aspx pages where it is navigating to one page to another pages.but wh navigating the address bar is visble to the user and it can be editable .so how to restrict the user not to edit the address bar ..or not to do anything to the address bar content.
jagadeeshkumar2106 wrote:
so how to restrict the user not to edit the address bar
Disabling/Hiding browser address bar is not at all an efficient solution as user can take the URL from page info and give it directly on a fresh window. You need to write code for checking the query string value's and redirect to error pages if values are invalid.
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions
-
jagadeeshkumar2106 wrote:
so how to restrict the user not to edit the address bar
Disabling/Hiding browser address bar is not at all an efficient solution as user can take the URL from page info and give it directly on a fresh window. You need to write code for checking the query string value's and redirect to error pages if values are invalid.
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions
-
hi sir is it possible not to edit the address bar by the user ...if possible plz help me with code
You can hide it in a popup. But as I told earlier, it's not reliable. So always check the values before you process them. Make sure the values passes through query string is valid. If you don't want to check the values passed, encrypt them before passing. So user won't understand the data.
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions
-
You can hide it in a popup. But as I told earlier, it's not reliable. So always check the values before you process them. Make sure the values passes through query string is valid. If you don't want to check the values passed, encrypt them before passing. So user won't understand the data.
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions
-
my project consists of several aspx pages where it is navigating to one page to another pages.but wh navigating the address bar is visble to the user and it can be editable .so how to restrict the user not to edit the address bar ..or not to do anything to the address bar content.
Poor Navaneeth. How can an ASP.NET forum contain so many people who have no idea what ASP.NET is, and what it does ? There is literally no way you can do this. And, why would you want to ? I suspect you're trying to solve a different problem entirely, such as users being logged back in when they hit the back button. Fix your program, don't try to make life hard for your users, not least because it's not possible.
Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
-
my project consists of several aspx pages where it is navigating to one page to another pages.but wh navigating the address bar is visble to the user and it can be editable .so how to restrict the user not to edit the address bar ..or not to do anything to the address bar content.
hi jagadeeshkumar2106, According to me there is no such possibilites of preveting user from editing Address bar. Because if you doesn't allow user to edit Address bar then how can user switch to some another website. I know you preveting user from editing your website's URL but if user wanna swtich to another website then it is not possible. It's better to use URL Rewriting which simply hide important contents of URL and show different URL to user. So, even User edit URL it doesn't effect your application at all. Hope this will help you. Thanks & Regards Dilipv
Dilip Kumar Vishwakarma Programmer .Net Consulting
-
Poor Navaneeth. How can an ASP.NET forum contain so many people who have no idea what ASP.NET is, and what it does ? There is literally no way you can do this. And, why would you want to ? I suspect you're trying to solve a different problem entirely, such as users being logged back in when they hit the back button. Fix your program, don't try to make life hard for your users, not least because it's not possible.
Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
Christian Graus wrote:
Poor Navaneeth. How can an ASP.NET forum contain so many people who have no idea what ASP.NET is, and what it does ?
:confused: I am sorry, but I am not getting you.
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions
-
Christian Graus wrote:
Poor Navaneeth. How can an ASP.NET forum contain so many people who have no idea what ASP.NET is, and what it does ?
:confused: I am sorry, but I am not getting you.
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions
Damn - sorry, that doesn't read like I meant it. I meant, poor you because you were saying the same thing over and over and, as often is the case here, getting a 'so how do I do it' response.
Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
-
Christian Graus wrote:
Poor Navaneeth. How can an ASP.NET forum contain so many people who have no idea what ASP.NET is, and what it does ?
:confused: I am sorry, but I am not getting you.
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions
-
Damn - sorry, that doesn't read like I meant it. I meant, poor you because you were saying the same thing over and over and, as often is the case here, getting a 'so how do I do it' response.
Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
Ohh, I misunderstood that one. No prob. :)
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions
-
What he meant was that there are so many persons active in asp.net forum who dont know event the basics and you tireslessly trying to teach them the same.. :)
Apurva Kaushal
:) Now I understood
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions