Re: Back Buttons

2003-06-05 Thread Jason Miller
unless I am missing something...
just change the -1 to -2

I had just done this on one of my client's pages.. If a search comes up 
empty I simply do a





I happen to know the search process result is 2 pages away from where 
they came from.. always.. so it works for me.

does that help?
jay
Adrian Lynch wrote:
> Put a redirect to the first page on the middle page that gets triggered when
> it finds a variable you set on the third page.
> 
> Ade
> 
> -Original Message-
> From: Kris Pilles [mailto:[EMAIL PROTECTED]
> Sent: 03 June 2003 20:53
> To: CF-Talk
> Subject: Back Buttons
> 
> 
> Is there away to make the back button do history -2 instead of -1 on
> certain pages... I am trying to bypass a form post page to return my
> users to where they origiannlly came from...
> 
> Any ideas...
> 
> 
> 
> Kris Pilles
> Website Manager
> Western Suffolk BOCES
> 507 Deer Park Rd., Building C
> Phone: 631-549-4900 x 267
> E-mail: [EMAIL PROTECTED]
> 
> 
> 
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Back Buttons

2003-06-04 Thread Adrian Lynch
Put a redirect to the first page on the middle page that gets triggered when
it finds a variable you set on the third page.

Ade

-Original Message-
From: Kris Pilles [mailto:[EMAIL PROTECTED]
Sent: 03 June 2003 20:53
To: CF-Talk
Subject: Back Buttons


Is there away to make the back button do history -2 instead of -1 on
certain pages... I am trying to bypass a form post page to return my
users to where they origiannlly came from...

Any ideas...



Kris Pilles
Website Manager
Western Suffolk BOCES
507 Deer Park Rd., Building C
Phone: 631-549-4900 x 267
E-mail: [EMAIL PROTECTED]



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: Back Buttons

2003-06-04 Thread Ryan Mitchell
You can purge the history of all pages, or the last so many pages I
believe... Google it... Dunno if its an ie only thing or a cross browser
thing.. I read about it in an article.. Sorry to be so vague!!

Ryan

On 3/6/03 21:22, "Turetsky, Seth" <[EMAIL PROTECTED]> wrote:

> sounds like he wants to override the browser back button, naga naga
> naganahappen
> if not, don't mind me
> 
> -Original Message-
> From: Cassidy Symons [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 03, 2003 4:09 PM
> To: CF-Talk
> Subject: Re: Back Buttons
> 
> 
> history.go(-2)
> 
> At 03:52 PM 6/3/2003 -0400, you wrote:
>> Is there away to make the back button do history -2 instead of -1 on
>> certain pages... I am trying to bypass a form post page to return my
>> users to where they origiannlly came from...
>> 
>> Any ideas...
>> 
>> 
>> 
>> Kris Pilles
>> Website Manager
>> Western Suffolk BOCES
>> 507 Deer Park Rd., Building C
>> Phone: 631-549-4900 x 267
>> E-mail: [EMAIL PROTECTED]
>> 
>> 
>> 
> 
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Back Buttons

2003-06-04 Thread Shawn Grover
Also, if your form action page doesn't do any client side output (i.e.
javascript), then the browser won't know about it, and a 
history.back(); will return you to your form.  This method won't work if you
are doing anything with cookies, otherwise, it works pretty well.

-Original Message-
From: Cassidy Symons [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 03, 2003 2:09 PM
To: CF-Talk
Subject: Re: Back Buttons


history.go(-2)

At 03:52 PM 6/3/2003 -0400, you wrote:
>Is there away to make the back button do history -2 instead of -1 on
>certain pages... I am trying to bypass a form post page to return my
>users to where they origiannlly came from...
>
>Any ideas...
>
>
>
>Kris Pilles
>Website Manager
>Western Suffolk BOCES
>507 Deer Park Rd., Building C
>Phone: 631-549-4900 x 267
>E-mail: [EMAIL PROTECTED]
>
>
>

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Back Buttons

2003-06-04 Thread Turetsky, Seth
sounds like he wants to override the browser back button, naga naga naganahappen
if not, don't mind me

-Original Message-
From: Cassidy Symons [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 03, 2003 4:09 PM
To: CF-Talk
Subject: Re: Back Buttons


history.go(-2)

At 03:52 PM 6/3/2003 -0400, you wrote:
>Is there away to make the back button do history -2 instead of -1 on
>certain pages... I am trying to bypass a form post page to return my
>users to where they origiannlly came from...
>
>Any ideas...
>
>
>
>Kris Pilles
>Website Manager
>Western Suffolk BOCES
>507 Deer Park Rd., Building C
>Phone: 631-549-4900 x 267
>E-mail: [EMAIL PROTECTED]
>
>
>

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Back Buttons

2003-06-04 Thread Kris Pilles
No, I want to control the back button on the acutal brownser 

-Original Message-
From: CF Dude [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 03, 2003 4:07 PM
To: CF-Talk
Subject: Re: Back Buttons


go back 2

- Original Message - 
From: "Kris Pilles" <[EMAIL PROTECTED]>


Is there away to make the back button do history -2 instead of -1 on
certain pages... I am trying to bypass a form post page to return my
users to where they origiannlly came from...

Any ideas...



Kris Pilles
Website Manager
Western Suffolk BOCES
507 Deer Park Rd., Building C
Phone: 631-549-4900 x 267
E-mail: [EMAIL PROTECTED]




~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: Back Buttons

2003-06-04 Thread cf-talk
You can't change the back button in the browser per say... but you can do
one of the following:



OR... you can look into usage of the javascript Replace() command to replace
the current url... that way the current page will NOT be saved in the
browser history and when the user clicks the back button you'll go back to
the page you intended. (essentially back 2 pages because one of them wasn't
saved)

-Novak

- Original Message - 
From: "Kris Pilles" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, June 03, 2003 12:52 PM
Subject: Back Buttons


> Is there away to make the back button do history -2 instead of -1 on
> certain pages... I am trying to bypass a form post page to return my
> users to where they origiannlly came from...
>
> Any ideas...
>
>
>
> Kris Pilles
> Website Manager
> Western Suffolk BOCES
> 507 Deer Park Rd., Building C
> Phone: 631-549-4900 x 267
> E-mail: [EMAIL PROTECTED]
>
>
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Host with the leader in ColdFusion hosting. 
Voted #1 ColdFusion host by CF Developers. 
Offering shared and dedicated hosting options. 
www.cfxhosting.com/default.cfm?redirect=10481

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: Back Buttons

2003-06-04 Thread Cassidy Symons
history.go(-2)

At 03:52 PM 6/3/2003 -0400, you wrote:
>Is there away to make the back button do history -2 instead of -1 on
>certain pages... I am trying to bypass a form post page to return my
>users to where they origiannlly came from...
>
>Any ideas...
>
>
>
>Kris Pilles
>Website Manager
>Western Suffolk BOCES
>507 Deer Park Rd., Building C
>Phone: 631-549-4900 x 267
>E-mail: [EMAIL PROTECTED]
>
>
>
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: Back Buttons

2003-06-04 Thread CF Dude
go back 2

- Original Message - 
From: "Kris Pilles" <[EMAIL PROTECTED]>


Is there away to make the back button do history -2 instead of -1 on
certain pages... I am trying to bypass a form post page to return my
users to where they origiannlly came from...

Any ideas...



Kris Pilles
Website Manager
Western Suffolk BOCES
507 Deer Park Rd., Building C
Phone: 631-549-4900 x 267
E-mail: [EMAIL PROTECTED]



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4