RE: Page Cache..

2004-02-09 Thread Shawn Grover
Another idea would be to put the three pages in your form onto one page as
hidden divs (except the first - that one should be visible).  Then provide a
way to move between the pages (next/back links that would hide/show the
appropriate divs).  And a Finish link/button that submitts the form.

 
Doing it this way will only put the main form on the history - hitting back
takes you to the page you were on before going to the form.

 
Another method is to make use of a hidden IFrame.  Submit your form into an
iframe.  Do whatever processing you need in the IFrame, then use _javascript_
to change the parent page with a 
"window.parent.document.location.replace("page2.cfm");

 
Using the replace will prevent the back button from loading the first page
of the form.

 
There's always a way to work around the back button limitations...

 
Shawn

-Original Message-
From: Jeremy Brodie [mailto:[EMAIL PROTECTED]
Sent: Monday, February 09, 2004 8:33 AM
To: CF-Talk
Subject: Re:Page Cache..

"Caution: There is no true way of completely diabling the back button"

With the short answer out of the way, here's some _javascript_ that will make
it harder for folks to move backwards on your page.

Step one: Open the first page of the application in a new window. Use this
script as an example of preventing the back button from appearing in the
window



Step two: Disable the right clicker using this script from Dynamic Drive.
Please note that it only works in IE consistantly



Jeremy Brodie Edgewater Technology web: http://www.edgewater.com phone:(703) 815-2500 email: [EMAIL PROTECTED] >Hi there: >I'd like to avoid back button in the IE...I have a wizard with 3 pages..If u >click on the button Step 2 u are not allowed to go back to the page 1. I >used CFcache tag with timestamp="0" but it  doesn't work..any idea? > >regards >__ >MSc. Hassan Arteaga Rodríguez >Microsoft Certified System Engineer. >DIGI- Grupo de Desarrollo >COPEXTEL, S.A. > >   _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Re: Page Cache..

2004-02-09 Thread Tyler Clendenin
You could use the replace function in JS to go from form to form thus disabling the ability for them to be able to go back if they do find a way after disabling everything.

replace Method 
The replace method replaces the current History entry with the specified URL. After calling the replace method, you cannot navigate back to the previous URL using the browser's Back button. 

 
Syntax: location.replace(URL) 

My favorite JS Reference:
http://www.devguru.com/Technologies/ecmascript/quickref/_javascript__index.html

Tyler Clendenin
GSL Solutions
  - Original Message - 
  From: Hassan Arteaga Rodriguez 
  To: CF-Talk 
  Sent: Monday, February 09, 2004 11:46 AM
  Subject: RE: Page Cache..

  Thanks Jeremy..good idea to open the wizard in another window

  Regards

  __
  MSc. Hassan Arteaga Rodríguez
  Microsoft Certified System Engineer.
  DIGI- Grupo de Desarrollo
  COPEXTEL, S.A.

    _  

  From: Jeremy Brodie [mailto:[EMAIL PROTECTED] 
  Sent: Monday, February 09, 2004 10:33 AM
  To: CF-Talk
  Subject: Re:Page Cache..

  "Caution: There is no true way of completely diabling the back button"

  With the short answer out of the way, here's some _javascript_ that will make
  it harder for folks to move backwards on your page.

  Step one: Open the first page of the application in a new window. Use this
  script as an example of preventing the back button from appearing in the
  window

  

  Step two: Disable the right clicker using this script from Dynamic Drive.
  Please note that it only works in IE consistantly

  
   
  

  Jeremy Brodie
  Edgewater Technology

  web: http://www.edgewater.com
  phone:(703) 815-2500
  email: [EMAIL PROTECTED]

  >Hi there:
  >I'd like to avoid back button in the IE...I have a wizard with 3 pages..If
  u
  >click on the button Step 2 u are not allowed to go back to the page 1. I
  >used CFcache tag with timestamp="0" but it  doesn't work..any idea?
  > 
  >regards
  >__
  >MSc. Hassan Arteaga Rodríguez
  >Microsoft Certified System Engineer.
  >DIGI- Grupo de Desarrollo
  >COPEXTEL, S.A.
  > 
  > 
    _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Page Cache..

2004-02-09 Thread Mosh Teitelbaum
Jeremy Brodie wrote:
> "Caution: There is no true way of completely diabling the back button"
> ...

Having read the caution, I should still point out that the user can always
go back via "Alt + Left Arrow."

Also, you should carefully consider "disabling" the back button.  It tends
to be a user-interface (usability) no-no.  People have come to recognize,
expect, and rely on the back button as a vehicle for navigating through a
series of web pages.  Disabling it removes a commonly expected tool from the
user's browsing arsenal.

Better you should code to accept and support the back button.

--
Mosh Teitelbaum
evoch, LLC
Tel: (301) 942-5378
Fax: (301) 933-3651
Email: [EMAIL PROTECTED]
WWW: http://www.evoch.com/
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Page Cache..

2004-02-09 Thread Hassan Arteaga Rodriguez
Thanks Jeremy..good idea to open the wizard in another window

 
Regards

 
__
MSc. Hassan Arteaga Rodríguez
Microsoft Certified System Engineer.
DIGI- Grupo de Desarrollo
COPEXTEL, S.A.

  _  

From: Jeremy Brodie [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 09, 2004 10:33 AM
To: CF-Talk
Subject: Re:Page Cache..

"Caution: There is no true way of completely diabling the back button"

With the short answer out of the way, here's some _javascript_ that will make
it harder for folks to move backwards on your page.

Step one: Open the first page of the application in a new window. Use this
script as an example of preventing the back button from appearing in the
window



Step two: Disable the right clicker using this script from Dynamic Drive.
Please note that it only works in IE consistantly


 


Jeremy Brodie
Edgewater Technology

web: http://www.edgewater.com
phone:(703) 815-2500
email: [EMAIL PROTECTED]

>Hi there:
>I'd like to avoid back button in the IE...I have a wizard with 3 pages..If
u
>click on the button Step 2 u are not allowed to go back to the page 1. I
>used CFcache tag with timestamp="0" but it  doesn't work..any idea?
> 
>regards
>__
>MSc. Hassan Arteaga Rodríguez
>Microsoft Certified System Engineer.
>DIGI- Grupo de Desarrollo
>COPEXTEL, S.A.
> 
> 
  _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]