• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: disable back button of the browser
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: disable back button of the browser


  • Subject: Re: disable back button of the browser
  • From: Marek Wawrzyczny <email@hidden>
  • Date: Mon, 17 Nov 2003 12:01:58 +1100

Perhaps you can achieve this by overriding savePage() in WOSession to check for the existence of a "do not save to cache" property inside the component passed and only saving it to cache if one does not exist. Use the takeValueForKey and valueForKey methods to set this property. You could also override savePageInPermanentCache() in the same way.

On Monday, Nov 17, 2003, at 11:35 Australia/Sydney, Marek Wawrzyczny wrote:

The second solution, to delete the page from backtrack store... I could not implement this one because I could never find the API into the backtrack page store. I know it lives in the WOSession but there doesn't seem any obvious way to access it. This would also involve overriding the handlePageRestorationErrorInContext(WOContext aContext) in WOApplication to implement custom behaviour.


On Monday, Nov 17, 2003, at 09:45 Australia/Sydney, Marek Wawrzyczny wrote:

Make the page a direct action page and make sure the expires header is properly set.

On Monday, Nov 17, 2003, at 01:31 Australia/Sydney, Kranthi Sagar Borra wrote:

Hi John,
Thanks a lot for that.But I have a small query.That article which you have shown me tells me about disabling the backtracking all together in my application.But my requirement is just to disable the backtracking only for a particular page in the application.Can you please tell me how this is achieved.


Regards,

Kranthi Sagar
Extn:6799
Direct:0824-2226799
Cell:9845791246



----------
From: 	john lennard
Sent: 	Sunday, November 16, 2003 5:08 PM
To: 	Kranthi Sagar Borra
Cc: 	email@hidden
Subject: 	Re: disable back button of the browser


Hello,

There is a good article that covers this on stepwise..

http://www.stepwise.com/Articles/Technical/2003-08-15.01.html


regards john

On 17/11/2003, at 12:22 AM, Kranthi Sagar Borra wrote:

Hi

My requirement is to disable the back button when the user submits a
particular form.Either it should disable the back button or not allow
the user to access this page again.Can anybody suggest me what to
do.Thanks in advance.


Regards,
Kranthi Sagar
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.




Marek Wawrzyczny

software engineer
-------------------------->
ish group pty ltd
7 Darghan St Glebe 2037 Australia
phone +61 2 9660 1400 fax +61 2 9660 7400
http www.ish.com.au | email email@hidden
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.




Marek Wawrzyczny

software engineer
-------------------------->
ish group pty ltd
7 Darghan St Glebe 2037 Australia
phone +61 2 9660 1400 fax +61 2 9660 7400
http www.ish.com.au | email email@hidden
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.




Marek Wawrzyczny

software engineer
-------------------------->
ish group pty ltd
7 Darghan St Glebe 2037 Australia
phone +61 2 9660 1400   fax +61 2 9660 7400
http www.ish.com.au | email email@hidden
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: disable back button of the browser (From: Marek Wawrzyczny <email@hidden>)

  • Prev by Date: Re: disable back button of the browser
  • Next by Date: Re: Help of FileDownload
  • Previous by thread: Re: disable back button of the browser
  • Next by thread: RE: disable back button of the browser
  • Index(es):
    • Date
    • Thread