Tutorials
Resources
Forum
Communities
Interview
Jobs
Projects
Offshore Development
Silverlight Tutorials
|
Mentor
|
Code Converter
|
Articles
|
Code Factory
|
Computer Jokes
|
Members
|
Peer Appraisal
|
IT Companies
|
Bookmarks
|
Revenue Sharing
|
Prizes & Awards
My Profile
Sign In
Register
AdSense Revenue
Active Members
Today
Abhi
(63)
Appukuttan
(40)
divya
(36)
Last 7 Days
Appukuttan
(660)
Babu Akkandi
(465)
Tejinder Singh ...
(273)
more...
New Feature:
Community Sites
:
Create your own .NET community website and start earning from Google AdSense !
It's Free !
Block Back button of browser
Posted Date: 18 Jun 2008
Resource Type:
Tips
Category:
Web Development
Author:
Subodh kumar Prajapati
Member Level:
Gold
Rating:
Points
: 4
Some times we might need to block the back button of browser. For example, this is required whenever your session expires that leads back to the login page. At this time you might want to block the back button. Because at that condition user can use back button.
So , the following lines of code can be written in body tag of html for block the back button of browser:
Use this on Body tab:
<Body onunload="Javascript:window.histroy.forword(0);">
This single line of code can block your back button of browser.
Responses
No responses found. Be the first to respond and make money from
revenue sharing program
.
Feedbacks
Popular Tags
What are tags ?
Search Tags
Sign In
Blocking browser's back button
.
Blocking back button in browser
.
Block back button in browser
.
Block back button
.
Post Feedback
This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must
Sign In
to post a response.
Next Resource:
Block the Right Clicking on page
Previous Resource:
Fill the value in session through Javascript
Return to Discussion Resource Index
Post New Resource
Category:
Web Development
Post resources and
earn money
!
Related Resources
why Radiobuttonlist/Dropdownlist/listbox/Checkboxlist/bulletedlist's SelectIndexchanged not firing?
Methods to Prevent SQLInjection
Tips for Creating a better E-Commerce Application
.NET Certification Details
Maximum Capacity for SQL Server 2005 Database Engine object
dotNet Slackers
BizTalk Adaptors
Web Design
Contact Us
Privacy Policy
Terms Of Use