# Not to allow previous page

**URL:** <https://www.ruby-forum.com/t/not-to-allow-previous-page/169333>\
**Category:** Ruby\
**Created:** [June 2, 2009, 2:02pm UTC](https://www.ruby-forum.com/t/not-to-allow-previous-page/169333 "2009-06-02T14:02:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mailtorajuit](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ed8c4c/32.png) [@mailtorajuit](https://www.ruby-forum.com/u/mailtorajuit)\
**Post date:** [June 2, 2009, 2:02pm UTC](https://www.ruby-forum.com/t/not-to-allow-previous-page/169333/1 "2009-06-02T14:02:45Z")

</div>

hi all  
1…i my webapplication after logout i dont want to disply the previos  
page when click on back button of browser. i want to display the index  
page instead of showing previous page when click on back button instead  
of shwing previus page hw to do this,

2…i want to expire the session after some idle time.

---

<div class="post-metadata">

**Author:** ![mailtorajuit](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ed8c4c/32.png) [@mailtorajuit](https://www.ruby-forum.com/u/mailtorajuit)\
**Post date:** [June 2, 2009, 2:10pm UTC](https://www.ruby-forum.com/t/not-to-allow-previous-page/169333/2 "2009-06-02T14:10:42Z")

</div>

If this is a wish list:

1. I want to be a Beatle
2. I want to be T1000 for a day
3. I want Federer to win the French Open this year…  
.  
.  
.

Oh wait, you had a question?

Jayanth

---

<div class="post-metadata">

**Author:** ![mailtorajuit](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ed8c4c/32.png) [@mailtorajuit](https://www.ruby-forum.com/u/mailtorajuit)\
**Post date:** [June 2, 2009, 2:55pm UTC](https://www.ruby-forum.com/t/not-to-allow-previous-page/169333/3 "2009-06-02T14:55:50Z")

</div>

Rajkumar S. wrote:

> hi all  
> 1…i my webapplication after logout i dont want to disply the previos  
> page when click on back button of browser. i want to display the index  
> page instead of showing previous page when click on back button instead  
> of shwing previus page hw to do this,
> 
> 2…i want to expire the session after some idle time.

If this is a question about web applications work in general, for  
example, how HTTP and HTML operate and how browsers are supposed to  
respond, then I’m afraid it doesn’t belong on this list. Try a w3c list,  
or a general web developers list.

If this is a question about the behaviour of a particular browser, then  
I’m afraid it doesn’t belong on this list. Try a list specific to the  
browser in question (e.g. firefox, opera, IE etc)

If this is a question about writing applications in a particular web  
framework, then I’m afraid it doesn’t belong on this list. Try a list  
specific to the framework you are using (e.g. rails, merb, sinatra,  
camping etc)

---

<div class="post-metadata">

**Author:** ![mailtorajuit](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ed8c4c/32.png) [@mailtorajuit](https://www.ruby-forum.com/u/mailtorajuit)\
**Post date:** [June 2, 2009, 3:07pm UTC](https://www.ruby-forum.com/t/not-to-allow-previous-page/169333/4 "2009-06-02T15:07:14Z")

</div>

More importantly, please frame the questions well. Regardless of where  
you  
are posting, it is hard to determine what you actually want without some  
reference.

Thank you,

Jayanth
