I just came here to say thank you so much for sharing and explaining the knowledge that you have, you explain with so much patient and passion that I was able to understand completely. Keep up the good work.
@adityajain76144 жыл бұрын
I must admit that You are "A Savior"!
@miltonchowdhury40166 жыл бұрын
Thanks a lot Telusko Learnings for helping me to upload this wonderful and very helpful video....really sir your all video is awesome on java and jsp-servlet.....we hope next time we will get more videos...thanks once again...
@bdrq4 жыл бұрын
You saved my life!!!! Greetings from Colombia!!!
@rajmehta65121 күн бұрын
Wow,what a useful video ❤
@omer_usta6 жыл бұрын
Never use Expires = 0 to prevent caching. The Expires header is sent by the remote server and passed through to the browser by the Portal Server. Unless the time on all three machines is synchronized, an Expires=0 header can mistakenly return cached content. To solve this problem, set the Expires header to a fixed date that is definitely in the past.
@ruiyijohnwu62953 жыл бұрын
The disable back button really makes me laugh. I really appreciate you made such wonderful videos.
@joeljacob10664 жыл бұрын
Both the videos really helped me a lot. Can use tell how to prevent the same user accessing different browser at a time
@milaanvigraham86645 жыл бұрын
Whenever you make changes in jsp files, you must refresh the project. You don't need to restart the server. Nor do you need to clean the project. Thanks for the video though :)
@jayantagarwal63395 жыл бұрын
Awesome Sir, this what I wanted to learn
@webdev47866 жыл бұрын
great....this woes the only problem am facing after i have done a complete functioning website
@hikmatmarashdeh22935 жыл бұрын
Thank you very much for your amazing explanation and demo.
@nitishrohilla58227 жыл бұрын
Thank you sir for this video by the way i already found this method on stack overflow after a long wait..😅😅 and you are right disabling back button is not good method user will feel annoyed .but your way of teaching is very funny..😂😂😂. And one more think i wanna tell you please disable cached in browser>console>network when you are testing your site on browser. it will help you and you will never face that html editied effect issue in your webpage.
@mesimple1003 жыл бұрын
Not working, i m still able to go back to previous pages
@kiranparui46377 жыл бұрын
Thank you so much sir...i was waiting for you to make this video....
@anandsharma85352 жыл бұрын
Sir when we click on the back button after logging out it says to resubmit the data or reload the page and when i clicked on reload button we were back on the index page. What can we do prevent that?
@user-a2-23 Жыл бұрын
exactly .I just came to comment the same . @telusko please tell this concept
@sagarmeena02106 жыл бұрын
thanks for making these video...they're really helpful
@erdeepakkumar617 жыл бұрын
Sir after logging out I can still go to welcome.jsp page by pressing back button. I had set the headers to stop the caching but still the problem is there.
@chauhanraj6596 жыл бұрын
This info of postback I was searching from a long time! This video gave the concept of response.setHeader(..) !!!
@gouthamboine18985 жыл бұрын
hello sir, setHeader method working only once. if i click my back button more than one time its showing me the secured pages again. please help me out.
@irfanansari64484 жыл бұрын
Thank you so much, it really helped me in my project.
@CodeWithCB5 жыл бұрын
The solution you mentioned is browser specific. So how to generalize it so that any browser back button click will fail for secured resource access, after logout?
@waytolearningcomputerscien6558 Жыл бұрын
sr your videos are very useful ,please upload some video related to jsf in java
@syed123857 жыл бұрын
Sir, I used complete code it’s working .. But after login if we press back button it shows login page actually it should not ...plz check
@divyanshchaudhary70635 жыл бұрын
Even In my code it's showing Click resubmission and after click back again it reload to the login page.
@Fakipo4 жыл бұрын
@@divyanshchaudhary7063 did you find a solution to this problem?
@abhinavgoswami92643 жыл бұрын
Jump to 7:08 if you have watched part 1.
@omarmoussamih42146 жыл бұрын
it's verry helpfuul !! Thank you
@zn61514 жыл бұрын
This guy is genius
@akshaysatija75057 жыл бұрын
I have done the same thing but after logout i can go to my previous page ?
@modernsanskari43987 жыл бұрын
There is still a problem with Login module. After entering the correct username and password ,you will be redirected to welcome page. But if you press Back button it wil again show the Login page i.e you are logged out without clicking on logout button. Can we make exact login module like FB,Gmail etc . Also how can we disable back button and we can easily give a navigable button on the web page only.
@prasannareddyisireddy82336 жыл бұрын
Have you find the solution??
@sourabhsharma98306 жыл бұрын
Use cookies
@AbhishekKumar-zg7if4 жыл бұрын
Thank you. Important information.
@romilsondgerard1978Ай бұрын
Thanks for such a great video! Thing is, when we do no-cache, I can no longer travel between pages once the user is logged in. So how can I prevent back button after logout but still be able to travel between pages while logged-in?
@giorgiogaratti66522 жыл бұрын
Thanks! Very useful...
@arpandutta31063 жыл бұрын
what if i want the pages to be cached for faster access, but it should only be accessed if we are logged in.
@anujaashokjaiswal55786 жыл бұрын
thank you so much you save my life
@milaanvigraham86645 жыл бұрын
I have a question. This method seems to depend on a client's browser to be secure. What would happen if someone releases a browser that ignores this particular header? That chooses to store the cache data anyway? Isn't that perfectly possible?
@madhumitanaskar9625 жыл бұрын
Hi Sir, I have written the below code in my JSP file to prevent the back button to work. But it seems the code is not working: response.setHeader("Cache-Control", "no-cache, no-store, must-revalidate"); response.setHeader("Pragma", "no-cache"); response.setHeader("Expires", "0");
@Fakipo4 жыл бұрын
It is not working for me aswell, did you find a solution yet?
@sketchwithbratati43973 жыл бұрын
Same... Not working for me as well
@miasevda47282 жыл бұрын
@@sketchwithbratati4397 please did you find any solution ?
@mahenkumarage91452 жыл бұрын
@@miasevda4728 try this add to login page
@swarnajitghosh42144 жыл бұрын
The thing is it doesnt work on multiple pages...suppose i logged in to a page user.jsp then again after clicking on something i went to another page show.jsp still it doesnt allow me to go back to user.jsp page..withour even logging out..
@Fakipo2 жыл бұрын
Hi, Excellent video, my question is can we set these headers disabling caches in servlets instead of JSPs?
@maheshwarir39616 жыл бұрын
Awesome Navi
@sivakumarr77993 жыл бұрын
if i have dummy servlet and set uname then will it allow?
@emper0r5 Жыл бұрын
When I press back button then confirm form resubmission pages appears and if I reload it, the welcome page gets opened. So whats the solution for this ?
@deepdeshmukh93397 жыл бұрын
Hello Navin sir, I use the only servlet page code for back button disable.what is the code for it in a servlet page, not in jsp?please help me.
@edwinmanalaotao20192 жыл бұрын
Hello can you help me? Whenever i try to go back after logging out, I keep receiving a Confirm Form Resubmission and an ERR_CACHE_MISS
@SarkarBLR4 жыл бұрын
Hello I some issue whenever I am trying to login my hosting dashboard this error is showing" servlet" problem. What is the reason behind it. And I have a doubt with my hosting provider , I don't want host my website on their server.
@leotan56016 жыл бұрын
excuse me sir what JDK version are you using in this example? mine is JDK 1.8(Default) in netbeans and it does not recognize response.setHeader() that has 4 parameters
@leotan56016 жыл бұрын
sorry double checked and found it is typing error its now fixed
@rajjputsufiyaan38556 жыл бұрын
Sendredirect always uses GET method, thus how did you manage to use the POST request with the sendRedirect? Please advice
@amandeep010104 жыл бұрын
I worked as video says, not able to access the secure page after logging out in chrome but in safari I can. Any update?
@dipusaha71335 жыл бұрын
Its not working for me...pls help me out..
@tandonpushkar7 жыл бұрын
Thank u so much 4 dis one....!!!
@kavin18145 жыл бұрын
Not all heroes wear capes.
@techroyal64987 жыл бұрын
jsp or php which i s better to choosing building a homepage,i seen in quora most peoples are saying jsp is litlle bit slow it takes a some time to get a load is it truth??
@orbit-chanel4 жыл бұрын
thanks for this knowlege
@Stack404..4 жыл бұрын
how you write servlet code in html response page its not working for me
@OWNu_2 жыл бұрын
Can we use this deleting cache command in flask?
@liveproject70036 жыл бұрын
thanu soo much sir
@hari70274 жыл бұрын
Welcome back aliens😂😂
@vasudevp17035 жыл бұрын
You are amazing sir....
@keertigoswami67113 жыл бұрын
Another issue is there after logout going one time back it is showing login page that is fine but again going back then it is showing login page with both username and password credentials.
@rishumehta7452 жыл бұрын
hi i tried this corde but it is not working in my eclipse and chrome...i can directly load dashboard without login and after logout i can still go back to index page without login
@miasevda47282 жыл бұрын
Did you find any solution please ?
@Csequerycom2 жыл бұрын
How to give points to user when user sign up in website In java, jsp. Please help me 😫🙏🙏💓sir....
@joschaweiss3126 жыл бұрын
there is that trick where you use "inspect element" and then you change the tag of password type="password" into type="string" and so see the password. Is there a way to avoid this?
@abdulmominkhattak2 жыл бұрын
I don't think there is any solution to that.
@soumyadeepganguly58924 жыл бұрын
Shouldn't we disable the new sessions created with jsp with page session=false directive? Cause we only want the one session created after login and attach the user to the session attribute. right? We don't need all those jsp sessions
@shrutichopra18147 жыл бұрын
Thanks alot sir 😊😊
@karj70724 жыл бұрын
im getting 405 error after clean and restart the server!.
@kiran70874 жыл бұрын
After clicking back button,it is showing "document expired" error but i wanna login page there also,what i have to do sir please give me suggestion
@princedey65367 жыл бұрын
Sir, is there a way to achieve this by using RequestDispatcher instead of SendRedirect? Because the page that i send the user displays some data that i have set by using request.setAttribute() hence need to forward request and response. With requestdispatcher upon hitting back page gives cache miss error. Upon reloading the same page reappears.
@harshitkumar97085 жыл бұрын
I am getting same error. Did you find the solution yet?
Thanks for the solution, but here is one more problem that when we back button more than one time and refresh the page, the browser is asking for resubmission, if we click continue then it is displaying that welcome page again. Then also there no security for the information. Is there any solution for that, please convey the solution.
@rameshramadugu16023 жыл бұрын
Hi sir, When i clicked on logout button ,why Logout.java is not working
@bhavanishankar47995 жыл бұрын
Not working for my project
@omkaar877 жыл бұрын
after implementing this code it gives "Confirm Form Resubmission Press the reload button to resubmit the data needed to load the page. ERR_CACHE_MISS " error and after refreshing page it forcefully resubmit previous things and opens that page
@user-a2-23 Жыл бұрын
I too got the same errors.If you found the solution please tell
@Sahas_H_S Жыл бұрын
@@user-a2-23solved?
@kathirvelanm9913 жыл бұрын
Sir what if we click back button on videos.jsp??
@rajarawal14574 жыл бұрын
sir, if clicked multiple times back button , i can see the secure page. how to fixe it. thank you sir
@shashikantkushwaha70987 жыл бұрын
Sir if i logout from one account its logout from all other account from same browser.
@sankalparora92614 жыл бұрын
Great stuff.
@muzamirumbaziira52067 жыл бұрын
Thanks a million times Naviir but what is Aliens
@deepdeshmukh93397 жыл бұрын
Dear Sir, i have a request... how can i do same catch control in servlet.. because i dont want to use jsp page...so how can i do this.your answear is so important for me.. requirment is database with servlet and catche control..please uplod video on this.
@27SharathK5 жыл бұрын
Getting error on response, responce cannot be resolved... Any solution?
@deepudinesh52887 жыл бұрын
after login if we click the back button it will go back to login page.it is also a security flop.
@stevewilsonraj2 жыл бұрын
this method is working in chrome but not in firefox sir
@basavarajus50662 жыл бұрын
I am calling LogiVerificate Servlet program from login,html file Once i login successfull i should not go to login.html file itself before click on the logout button by clicking back button of browser Can you help me how to do this login.html=>LoginVer(servlet program)
@amanraturi12686 жыл бұрын
where can i get its code?
@coding_dunes4 жыл бұрын
how to do this process in flask
@sachinbhalla145 жыл бұрын
The Problem Will be Same if We Double Click On The Back Button We Can See The Welcome Page As Well As video Please anyOne Tell it Me What is it Happing??
@cartoonworld52114 жыл бұрын
It's not working for me..it's going back to the page
@mssuper93217 жыл бұрын
the header for back button is not working
@rupadevigujjari22026 жыл бұрын
excellent..
@priteshshinde67797 жыл бұрын
Please make a video on database connectivity as soon as possible Atleast try to make it first rather than form validation using JavaScript
@vinodluhar45057 жыл бұрын
javascript is not so effective. If client side uncheck "allow javascript", all validations will be fail.
@priteshshinde67797 жыл бұрын
Not like that
@priteshshinde67797 жыл бұрын
I know client side validation is important But it is not mandatory But database connectivity is most important part as well as it is a part of JSP or Servlet code But validation is done by JavaScript which is totally different language
@kedarpatra95174 жыл бұрын
Sir, How to Store and Retrieve image from Database
@sumeetd18754 жыл бұрын
Thank you man
@RAHULKUMAR-fn1fj4 жыл бұрын
whenever i submit i got the Nullpoint Exception error......how to reslove it
@chungwm4 жыл бұрын
something to do with ==null or .equals(null)
@anujkumarsingh3306 жыл бұрын
Not working
@prabhavathib8714 жыл бұрын
Awesome Teaching!!! one doubt. Sir You set the header for wecome.jsp & videos.jsp. After logout if i go to previouse welcome.jsp page it shows login page becz we check the condition if(username==null) { response.sendRedirect("login.jsp"); } But if i move to videos.jsp it shows the exact page ?? Why ?? How ?? Kindly Make a separate video for this sir
@krishnachaitanya25227 жыл бұрын
Heloooo it's not working
@tharindudhananjayamunasing55337 жыл бұрын
it's not working in firefox.try in chrome
@bhagyashridevkhile35636 жыл бұрын
hello sir plz add video for CRUD Operation using JSP servlet......
@amanvirani27606 жыл бұрын
Thank You
@mohamedessabir Жыл бұрын
thanks
@rohannarkhede74795 жыл бұрын
You are Superb ^_^
@javawith247 жыл бұрын
Sir how to insert password in database in encrypted format sir please make video
@something......something38446 жыл бұрын
hi guys , the only solution to the problem is using meta tags and javascript in jsp pages