473,388 Members | 1,286 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

Signout Problem


HI ALL..

WELL I GOT A LITTLE TRICKY PROBLEM ....
THE PROBLEM IS ...

WHEN I SIGNOUT USING THE BUTTON(FORMSAUTHENTICATION.SIGNOUT());
RESPONSE.REDIRECT("LOGIN.ASPX")...IT REDIRECTS ME TO LOGIN.ASPX...THATS
FINE........BUT WHEN I CLICK THE BACK BUTTON OF IE IT AGAIN REDIRECTS ME
TO WHERE I WAS BEFORE......I DON'T WANT TO GO BACK WHEN I CLICK THE BACK
BUTTON OF IE ....

I HOPE YOU ALL ARE GOING TO GIVE ME SOME CLUES ABOUT IT....
BBYE

ABDUL GHAFFAR

--
Hunzian
------------------------------------------------------------------------
Posted via http://www.codecomments.com
------------------------------------------------------------------------

Apr 12 '06 #1
2 1135
Hunzian <Hu************@mail.codecomments.com>'s wild
thoughts were released on Wed, 12 Apr 2006 01:53:44 -0500
bearing the following fruit:

HI ALL..

WELL I GOT A LITTLE TRICKY PROBLEM ....
You sure do, you need to hit the caps lock key as posting in
capitals is considered both shouting and rude.

J
THE PROBLEM IS ...

WHEN I SIGNOUT USING THE BUTTON(FORMSAUTHENTICATION.SIGNOUT());
RESPONSE.REDIRECT("LOGIN.ASPX")...IT REDIRECTS ME TO LOGIN.ASPX...THATS
FINE........BUT WHEN I CLICK THE BACK BUTTON OF IE IT AGAIN REDIRECTS ME
TO WHERE I WAS BEFORE......I DON'T WANT TO GO BACK WHEN I CLICK THE BACK
BUTTON OF IE ....

I HOPE YOU ALL ARE GOING TO GIVE ME SOME CLUES ABOUT IT....



Jan Hyde (VB MVP)

--
Lavatory: Volcano (Ray Hand)

Apr 12 '06 #2
Hunzian i would reply you in small letters..:)
Just add this to the page Load your are redirecting to after login
With Response.Cache
.SetCacheability(HttpCacheability.NoCache)
.SetSlidingExpiration(True)
.SetExpires(DateTime.Now)
End With
Patrick
"Jan Hyde" <St***********@REMOVE.ME.uboot.com> wrote in message
news:dg********************************@4ax.com...
Hunzian <Hu************@mail.codecomments.com>'s wild
thoughts were released on Wed, 12 Apr 2006 01:53:44 -0500
bearing the following fruit:

HI ALL..

WELL I GOT A LITTLE TRICKY PROBLEM ....


You sure do, you need to hit the caps lock key as posting in
capitals is considered both shouting and rude.

J
THE PROBLEM IS ...

WHEN I SIGNOUT USING THE BUTTON(FORMSAUTHENTICATION.SIGNOUT());
RESPONSE.REDIRECT("LOGIN.ASPX")...IT REDIRECTS ME TO LOGIN.ASPX...THATS
FINE........BUT WHEN I CLICK THE BACK BUTTON OF IE IT AGAIN REDIRECTS ME
TO WHERE I WAS BEFORE......I DON'T WANT TO GO BACK WHEN I CLICK THE BACK
BUTTON OF IE ....

I HOPE YOU ALL ARE GOING TO GIVE ME SOME CLUES ABOUT IT....



Jan Hyde (VB MVP)

--
Lavatory: Volcano (Ray Hand)

Apr 12 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Jeff Johnson | last post by:
I'm using forms authentication to protect a subfolder within my site. I've got it working fine except for two issues: (1) When I do a RedirectFromLogin page I have to put a cookie path ("/"...
2
by: Angel | last post by:
I have a problem when I signout of FormsAuthentication. When I signout I would like to go o a certain page not the login page. I have the following code Session.Abandon( Response.Cookies.Clear(...
1
by: Kruno | last post by:
Hi ! My problem is : I have a link on my secure part of web site with which user can signout... Along with that below link is users name under which user signs in.. When user presses that link...
6
by: Patrick Olurotimi Ige | last post by:
I have a Forms Auth and use a button that allows users to SignOut below but when they sign out and PRESS THE BACK BUTTON they can see the previous page WHY? Sub SignOut(objSender As Object,...
4
by: Matthias S. | last post by:
Hi there, I've created an application which is using Forms-based authentification. My Login-Button event handler looks somewhat like this: // validate the input, etc... // sUserName holds now...
9
by: Patrick Olurotimi Ige | last post by:
When i add the following code below to a userControl it doesn't fire. Any ideas? Sub SignOut(ByVal objSender As Object, ByVal objArgs As EventArgs) FormsAuthentication.SignOut()...
2
by: craigkenisston | last post by:
So, I have this code : (AspNet 1.1) FormsAuthenticationTicket authTkt = new FormsAuthenticationTicket(1, _username, DateTime.Now, DateTime.Now.AddMinutes(60), true, userdata); string...
0
by: kmanisha | last post by:
hi friends i have problem about session and signout consider a scenario 1> user login using his userid and password 2> he gets the demanded aspx form as per userid 3> he copy the url of...
2
by: parez | last post by:
Hi ALl, I had problem with FormsAuthentication.SignOut(). It wasnt working. Looked arround and saw a lot of posts and different solutions to the problem. And some how (i dont nkow what...
0
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
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...
0
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...
0
marktang
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.