back-button

ASP.NET authentication login and logout with browser back button

Hi, I am looking for a solution for user use the browser's back button to navigate to previous page once logged out. I have a web application build in asp.net and using a custom membership provider for authentication and authorization. Everything works fine except when the user click on the logout link to log out of the application an...

Android Video Layout and backbutton to activity

I have an application where you can click on a button, this takes you to a new activity with four new buttons, listen, bio, ringtone, and watch. My watch button kicks off the following code: Button cmd_watchme = (Button)this.findViewById(R.id.watch); cmd_watchme.setOnClickListener(new View.OnClickListener() { public vo...

Back button in an iframe (widget for an iGoogle-like portal)

Hi everyone, I'm trying to create a widget (which is basically an iframe) that would have its own back and forward buttons. That is, when I hit the widget back-button, only the iframe goes back, not the entire widget container (the iGoogle-like portal) I added the following links: <a class="button" href="#" onclick="history.back();ret...

Javascript back button for iframe parent window

I have some pages with iframes in them. I want to add a link/button inside the iframe, to make the browser go back one page in history. But I want the PARENT to go back, not the iframe itself. I originally had this, which makes the iframe page go back (if it exists): <a href="javascript:history.back()">&laquo; Go back</a> I've tried ...

Prevent the animation when clicking "Back" button in a navigation bar ?

My application has a navigation controller and I don't want any animation in it : to prevent an animation when pushing a view, it's easy, via the pushViewController:animated: method but when I click the "back" button on this subview, there's an animation ! KO ! What can I do to prevent this animation ? ...

Android - How To Override the "Back" button so it doesn't Finish() my Activity?

I currently have an Activity that when it gets displayed a Notification will also get displayed in the Notification bar. This is so that when the User presses home and the Activity gets pushed to the background they can get back to the Activity via the Notification. The problem arises when a User presses the back button, my Activity ge...

Can we disabled the navigation controller of leftBarButtonItem that is back button of the view controller in iPhone?

Hi Guys, I want to disabled the default back button of navigation controller self.navigationItem.rightBarButtonItem.enabled = NO; self.navigationItem.leftBarButtonItem.enabled = NO;// not working how can we disabled here. I have done it with manually shown below, But Is there any property to disabled the default back button with just...

android - exit application code

I have an application wherein on homepage i have buttons for navigation through the application. In that I have a button "EXIT" which when clicked should take user to home screen on the phone where the application icon is. How can I do that? ...

My browser's back button should not work after logged out?

Possible Duplicate: Disabling Back button on the browser How to do this in asp.net friends? ...

security issue: php login/logout script + back button

I am using a login script that stores a session value $_SESSION['logged_in'] = 'yes' when user enters correct user/password. On logout, this session value is set to blanks. However user can hit back buttin a few times and get logged back in. I have also tried $_SESSION = array(); and session_destroy(); but with same results. ...

user can log back in in IE after logging out by hitting back button

I am using a PHP login script that challenges user for username & password. Once authenticated program stores a session value. On logout, session value is set to blanks. Here is the problem: In IE 8 (not Firefox), user can hit back button a few times until the screen which shows "Web Page has expired" message. This is likely the logi...

Handling Application abandonment

I have an application that spans several pages of engagement for the applicant and I don't want the user to abandon prematurely. Without hijacking the back and forward buttons (I think most of this forum would agree is a bad practice) I have a set of eventhandlers leveraging onbeforeunload that handle some of the typical use cases wher...

Back Button in Ajax disables Animation

Hi, I have a webpage at http://www.optiekmeulemeester.be/normal with sliding navigation. This happens with the following code: $(".link").click(function(){ var link = $(this).attr('href'); $("#middle").scrollTo(link, 800); return false; }); This works, but now I'm trying to enable the Back Button by using jQuery Address (http:/...

Preventing duplicate form submission while not breaking page when clicking Back button

I have a page with a form where I'm trying to prevent duplicate submission, which is fairly straightforward (in case anyone's curious, I used this $("form").submit(function() { setTimeout(function() { $("input").attr("disabled", "disabled"); }, 50); }); ...which I stole from this page, and it works fine. As expecte...

Handling Android hardware Back button

I have an onKeyDown event which is only needed for handling the Up and Down hardware keys in my app. For these it returns true, as they are handled. For anything else it returns false which I understand means that the OS should handle them. However, when I press the Back button, my onKeyDown is called and returns false, but there is no o...

Android - onBackPressed() not working

I have an application building against Android 2.1 and I want to override the back button. I have followed the example here: http://android-developers.blogspot.com/2009_12_01_archive.html And my code is as follows: @Override public boolean onKeyDown(int keyCode, KeyEvent event) { if (Integer.parseInt(android.os.Bui...

How does DuckDuckGo have infinite scroll results, yet the back button functions as expected if follow a link off-site?

Example search results for 'apple' on DDG: http://duckduckgo.com/apple If you scroll down a couple of times more results are fetched with ajax. Then you click a link, visit the result, click the back button, and the DDG page is exactly as you left it. How? ...

How to jump to 2nd level viewController on startup in navigation based iPhone app

Hi, I have a navigation based iPhone app. Normally you start on the RootViewController, there you can select a row from an UITableView which brings you to another ViewController, let's call it SecondLevelViewController. When the app is started I check if it was quit from SecondLevelViewController (via a parameter saved to the defaultUs...

Reload the page on hitting back button

I have a webpage that requires login. Once a user has logged in I start the session and once he logs out I destroy it, but when I press the back page it gives me the user profile page again which ideally should not be the case as the user has logged out. However, it works fine if I reload the page after logging out. It's a local chatroo...

back button not reloading page

test1.php has this code ( <?php header("Cache-Control: no-cache"); header("Pragma: no-cache"); $a=date("D M Y ; h:m:s"); echo $a; ?> <html> <head> <meta http-equiv='Pragma' content='no-cache'/> <meta http-equiv='Expires' content='-1'/> </head> <a href="test2.php">tk</a> </html> ) then when i visit test1.php and move to test2.php t...