Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

asp

This is a discussion on asp within the VB.NET forums, part of the Software Development category; may i know the coding when the logout button clicked how the back button of the browser ll be disabled??????...

Go Back   Geeks Talk > Software Development > VB.NET
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read

VB.NET Visualbasic.NET

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-14-2007
Junior Member
 
Join Date: Jan 2007
Location: Bangalort
Posts: 13
Thanks: 1
Thanked 0 Times in 0 Posts
yogeesh R is on a distinguished road
asp

may i know the coding when the logout button clicked how the back button of the browser ll be disabled??????
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 04-14-2007
Administrator
 
Join Date: May 2006
Location: New York, USA
Posts: 628
Blog Entries: 8
Thanks: 25
Thanked 1,540 Times in 95 Posts
admin has disabled reputation
Re: asp

There are few ways it can be handled...

if you are setting session variable on login, you can set to nothing since you will be checking on all the pages to see if the user is authenticated ...

another option is expire the current page ..

Response.Expires = 0
Response.Cache.SetNoStore()
Response.AppendHeader("Pragma", "no-cache")

with this user should get page expired message if he tries to use back button...

Let me know how it goes..
Reply With Quote
Reply

  Geeks Talk > Software Development > VB.NET

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -4. The time now is 06:29 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved