Click here to Skip to main content
16,012,110 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have developed an application i.e report generation based on selection changed.
for example if i select to get information of DT=2014 then i will get 2014 data and if i change url DT=2013(if i edit) then i will get 2013 data. Actually here i want to restrict to edit url containing DT from 2014 to any year(2013,2012,....) either javascript (or) jquery
Posted

Its not possible but you can achieve this by opening the report in new 'model pop-up'
 
Share this answer
 
No.It's not possible.Editing the URL totally depends on clients choice and so you cannot restrict this

I guess you are using query string.If so, then try to use sessions to overcome this issue
 
Share this answer
 
Comments
haisanthosh 15-Apr-14 8:38am    
how to use sessions to overcome this issues can u explain using example.
Tom Marvolo Riddle 15-Apr-14 8:43am    
Have a look at my past answer:
How do I pass the value into the next page, and how do I use the value in the next page? I want to pass an name from the first page to the next.[^]

Get the value before redirecting to another page and in the page load assign it(similar to query string)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900