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 2805
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 FormsAuthentica tion in your application. If so then
you just add the following code on your on logout click.
FormsAuthentica tion.SignOut();
Response.Redire ct(Request.UrlR eferrer.ToStrin g());
--
Regards,
JAYAKRISHNAN V,
TECHNOLOGY GROUP.
iInterchange Systems Pvt. Ltd.,
Chennai-40
On May 14, 9:15*am, Jayakrishnan <jayakrish...@i interchange.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 FormsAuthentica tion in your application. If so then
you just add the following code on your on logout click.
FormsAuthentica tion.SignOut();
Response.Redire ct(Request.UrlR eferrer.ToStrin g());
--
Regards,
JAYAKRISHNAN V,
TECHNOLOGY GROUP.
iInterchange Systems Pvt. Ltd.,
Chennai-40
thanx for ur precious response but, i'm not using FormsAuthentica tion
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...@i interchange.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 FormsAuthentica tion in your application. If so then you just add the following code on your on logout click.
FormsAuthentic ation.SignOut() ; Response.Redir ect(Request.Url Referrer.ToStri ng());
-- Regards, JAYAKRISHNAN V, TECHNOLOGY GROUP. iInterchange Systems Pvt. Ltd., Chennai-40
thanx for ur precious response but, i'm not using FormsAuthentica tion
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 :wind ow.history.forw ard(1);
</script>
--
Regards,
JAYAKRISHNAN V,
TECHNOLOGY GROUP.
iInterchange Systems Pvt. Ltd.,
Chennai-40
On May 14, 10:02 am, sethia4u <sethia.prash.. .@gmail.comwrot e:
On May 14, 9:15 am, Jayakrishnan <jayakrish...@i interchange.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 FormsAuthentica tion in your application. If so then
you just add the following code on your on logout click.
FormsAuthentica tion.SignOut();
Response.Redire ct(Request.UrlR eferrer.ToStrin g());
--
Regards,
JAYAKRISHNAN V,
TECHNOLOGY GROUP.
iInterchange Systems Pvt. Ltd.,
Chennai-40
thanx for ur precious response but, i'm not using FormsAuthentica tion
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...@i interchange.com >
wrote:
sethia4u wrote:
On May 14, 9:15 am, Jayakrishnan <jayakrish...@i interchange.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 FormsAuthentica tion in your application. If so then
you just add the following code on your on logout click.
FormsAuthentica tion.SignOut();
Response.Redire ct(Request.UrlR eferrer.ToStrin g());
--
Regards,
JAYAKRISHNAN V,
TECHNOLOGY GROUP.
iInterchange Systems Pvt. Ltd.,
Chennai-40
thanx for ur precious response but, i'm not using FormsAuthentica tion
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:win dow.history.for ward(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 session values are
still alive. How to make redirect the user to another page if he
tries to enter into the application as in the above manner.
I...
|
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 do this?
JD
| |
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">
if(window.history.forward(1) != null)
window.history.forward(1);
</SCRIPT>
Thanks in advance.
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it. ...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
| |
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
| |