Dear Programmers,
when I click on logout button I redirect my page to login page again,
session variables to null, but when I click on back button previous
page is appeared.
so plz tell me how I make disable the back button of browser..... 5 2796
sethia4u wrote:
Dear Programmers,
when I click on logout button I redirect my page to login page again,
session variables to null, but when I click on back button previous
page is appeared.
so plz tell me how I make disable the back button of browser.....
Are you using FormsAuthentication in your application. If so then
you just add the following code on your on logout click.
FormsAuthentication.SignOut();
Response.Redirect(Request.UrlReferrer.ToString());
--
Regards,
JAYAKRISHNAN V,
TECHNOLOGY GROUP.
iInterchange Systems Pvt. Ltd.,
Chennai-40
On May 14, 9:15*am, Jayakrishnan <jayakrish...@iinterchange.com>
wrote:
sethia4u wrote:
Dear Programmers,
when I click on logout button I redirect my page to login page again,
session variables to null, but when I click on back button previous
page is appeared.
so plz tell me how I make disable the back button of browser.....
Are you using FormsAuthentication in your application. If so then
you just add the following code on your on logout click.
FormsAuthentication.SignOut();
Response.Redirect(Request.UrlReferrer.ToString());
--
Regards,
JAYAKRISHNAN V,
TECHNOLOGY GROUP.
iInterchange Systems Pvt. Ltd.,
Chennai-40
thanx for ur precious response but, i'm not using FormsAuthentication
in my application.... I'm using manually authentication through SQL
Server 2000 and if....else statement....
plz give me reply in this matter....
sethia4u wrote:
On May 14, 9:15 am, Jayakrishnan <jayakrish...@iinterchange.com>
wrote:
>sethia4u wrote:
>>Dear Programmers, when I click on logout button I redirect my page to login page again, session variables to null, but when I click on back button previous page is appeared. so plz tell me how I make disable the back button of browser.....
Are you using FormsAuthentication in your application. If so then you just add the following code on your on logout click.
FormsAuthentication.SignOut(); Response.Redirect(Request.UrlReferrer.ToString()) ;
-- Regards, JAYAKRISHNAN V, TECHNOLOGY GROUP. iInterchange Systems Pvt. Ltd., Chennai-40
thanx for ur precious response but, i'm not using FormsAuthentication
in my application.... I'm using manually authentication through SQL
Server 2000 and if....else statement....
plz give me reply in this matter....
Add this code on logout button page. This may help you.
<script>
javascript :window.history.forward(1);
</script>
--
Regards,
JAYAKRISHNAN V,
TECHNOLOGY GROUP.
iInterchange Systems Pvt. Ltd.,
Chennai-40
On May 14, 10:02 am, sethia4u <sethia.prash...@gmail.comwrote:
On May 14, 9:15 am, Jayakrishnan <jayakrish...@iinterchange.com>
wrote:
sethia4u wrote:
Dear Programmers,
when I click on logout button I redirect my page to login page again,
session variables to null, but when I click on back button previous
page is appeared.
so plz tell me how I make disable the back button of browser.....
Are you using FormsAuthentication in your application. If so then
you just add the following code on your on logout click.
FormsAuthentication.SignOut();
Response.Redirect(Request.UrlReferrer.ToString());
--
Regards,
JAYAKRISHNAN V,
TECHNOLOGY GROUP.
iInterchange Systems Pvt. Ltd.,
Chennai-40
thanx for ur precious response but, i'm not using FormsAuthentication
in my application.... I'm using manually authentication through SQL
Server 2000 and if....else statement....
plz give me reply in this matter....
check it http://dotnetslackers.com/articles/a...erverCode.aspx
On May 14, 11:18*am, Jayakrishnan <jayakrish...@iinterchange.com>
wrote:
sethia4u wrote:
On May 14, 9:15 am, Jayakrishnan <jayakrish...@iinterchange.com>
wrote:
sethia4u wrote: Dear Programmers, when I click on logout button I redirect my page to login page again, session variables to null, but when I click on back button previous page is appeared. so plz tell me how I make disable the back button of browser.....
Are you using FormsAuthentication in your application. If so then
you just add the following code on your on logout click.
FormsAuthentication.SignOut();
Response.Redirect(Request.UrlReferrer.ToString());
--
Regards,
JAYAKRISHNAN V,
TECHNOLOGY GROUP.
iInterchange Systems Pvt. Ltd.,
Chennai-40
thanx for ur precious response but, i'm not using FormsAuthentication
in my application.... I'm using manually authentication through SQL
Server 2000 and if....else statement....
plz give me reply in this matter....
Add this code on logout button page. This may help you.
* *<script>
* *javascript:window.history.forward(1);
* *</script>
--
Regards,
JAYAKRISHNAN V,
TECHNOLOGY GROUP.
iInterchange Systems Pvt. Ltd.,
Chennai-40- Hide quoted text -
- Show quoted text -
thanx a lot Ur suggested coding helps me lot.
thanking u very much again....
bye This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: ourspt |
last post by:
Hi,
We are working on a .NET application (ASP.NET/VB.NET). We need to suppress
(disable) the 'Back' button in the menu of the browser. What is the way to do
that?
Thanks in advance
oursmp
|
by: sonu |
last post by:
I want to disable the browser referesh and back button.
is there any way in .net for above.
Regards
Amit
|
by: zyaam |
last post by:
hi
If a user logs into an aspx applicaiton and in the same browser goes
to some other site say google.com and when he presses back button, he
is able to come back to the application since the...
|
by: JIM.H. |
last post by:
Hello,
How can I disable Back button in the internet explorer for my ASP.Net C#
application.
Thanks,
|
by: Joe Delphi |
last post by:
Hi,
When users log out of my web application, I want to disable the
back button so that they cannot "back into" the application after they have
logged out. Can someone tell me the best way to...
|
by: me2tech |
last post by:
Please let me know how to disable back button in Browser
|
by: manojhardwani |
last post by:
I don't want users to use back button in web browser,
if this is possible, when users click back button the message 'Page is Expired' should be given.
|
by: romeo971987 |
last post by:
disable back button..... page should no do postback...
i used history.go, history.back, session.abandon...and many more...but still previous page shows.... help me to expire the previous page.......
|
by: abhishekbrave |
last post by:
Is it possible to disable back button of a browser in java script.
Any pointers will be very helpful so that I can do some workaround on the same
|
by: SwapnilD |
last post by:
How tdo I disable a back button for SAFARI browser...
I tried below mentioned code but it only works for IE and I want it to disable only for SAFARI.
<SCRIPT language="javascript">
...
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
| |