Web Forms :: How To Disable Browser History Navigation After Logout
Jul 17, 2013
I have created a registration form where a User can fil up basic details and submit it.When user submit form a system generated username & password sent to user's mailid. Then user can login using that username & password.Once the user logged out from his account, get redirected to sign in page, but if he clicks on browser's Back Button then again it's profile page get opened.How should this can be stopped, Even if user clicks on Browser back button once he logged out he must have to sign in to view his profile page.
View 1 Replies
Similar Messages:
Mar 26, 2010
I'm using 2 masterpages in my project.One master page is for login page and another one for the HomePage where user will go thro the options to reach other pages from home page..The thing is,i have "Logout" button in my home page.When i click on the logout button,the page will be redirected to "LoginPage.aspx". After redirecting to login page,when i click on browser back button,the previous page is displaying but it should not display to user since i'm doing sensitive transactions in all pages...
I tried using following code
Code:
Response.Expires = 0;
Response.Cache.SetNoStore();
Response.AppendHeader("Pragma", "no-cache");
Page.Response.Cache.SetCacheability(HttpCacheability.NoCache);
but it's not working...
View 8 Replies
Apr 7, 2010
I'm using 2 masterpages in my project.One master page is for login page and another one for the HomePage where user will go thro the options to reach other pages from home page..The thing is,i have "Logout" button in my home page.When i click on the logout button,the page will be redirected to "LoginPage.aspx". After redirecting to login page,when i click on browser back button,the previous page is displaying but it should not display to user since i'm doing sensitive transactions in all pages...
or is there any way to do with authentication and roles?
View 5 Replies
Aug 18, 2010
how to avoid viewing the last page visited by the user after logging out.
View 2 Replies
Nov 9, 2013
How can I add a logout link to my navigation menu. I have horizontal dropdown menu.
View 1 Replies
Nov 23, 2010
I would be glad to have any kind of assistance on the issue, I wanna automatically disable the browser history storing for asp:textbox control
View 3 Replies
Jul 25, 2013
I have an web application which requires login. When users finish their activities they simply logout. What I need is to clear browser history when user click logout button. This should disable BACK button in browser.
View 1 Replies
Oct 5, 2010
we have a web form with check boxes on.
When we click our back button the page only returns to the previous state (un checking the check boxes one by one after each click). We would like it to go back to the previous page and remember the history of the page.
I've tried :
[Code]....
but this just crashes the page.
our javascript button looks like this:
<input type="button" value="Back" onclick="history.go(-1)" />
(the browser back button does the same thing)
View 6 Replies
May 17, 2010
I am trying to disable history and properties tabs from my report manager for some users.
I've been looking for advice on the internet but did not find anything about this.
View 2 Replies
Oct 1, 2010
Im using forms authentication. I want my application should not logout the user automatically after sometime.
View 2 Replies
Dec 28, 2010
I have a repeator control which is displaying the search results and it contains 50 Records.Paging is Enabled for the Repeator control and hence i am able to see 10 records at a time.
Now my requirement is :
When ever the user clicks the browser back button after going to the the Last set of records from the result set (41-50 records) in the Repeator Control,the Page is displaying the First set of Records(1-10).
Expected Result :
Page has to display the Previous result set (31-40) after clicking the browser back button.
View 3 Replies
Dec 20, 2010
I am working on image manipulation application.Everything is working fine, image is manipulated and saved in a folder in my application and when I want to display manipulated image the browser diaplays the previous image which does not exists in the folder.When I clear the browser history and refreshed the page modified image is displayed.The previous image and new manipulated image have same name.The image name is saved in database so i cant modify it.
View 3 Replies
Sep 1, 2010
i want to clear history of user page after they sign out from their page manipulations.I googled it and found some ways with cacheability,but it doesnt work fine.
View 3 Replies
Jan 20, 2011
How can maintain the browser history while performing ASP.NET AJAX asynchronous postback operation.
View 1 Replies
May 26, 2010
How to get rid-off ToolTip showing when people hover over menu items in asp:menu navigation control? The ToolTip itself covers pop-out sub-menu and very irritating. ToolTip actually displays "description" from Web.sitemap. I thought to delete "description", but that would be nice to have for asp:SiteMapPath.
View 2 Replies
Jan 26, 2011
way to stop browser history population in a textbox?
View 4 Replies
Jul 2, 2010
I have a data editing application that I use the crystal reports viewer to generate pdfs on the client machine using exporttoHttpResponse that is working. My problem is that if a user adds a record, generates a report(pdf) then goes back and edits/updates the record and regenerates the report(pdf) it will show the older pdf. The updates don't show up. It is like the report is stuck in browser memory but if I clear the cache and history it still will not show the updated data. The only way I have found to show the updated data is to shutdown the browser and pull the record back up.
[code]...
View 2 Replies
Aug 19, 2010
I'm looking for a way to get rid of the querystring of a page and redirect to itself but preserver the querystring data in some way. Exmaple: [URL] should redirect to [UL] Still, after the redirect, I want to be able to pick up the parameters that were originally passed. And I don't want to have [URL] in the browser's history.
What I tried so far:
* Response.Redirect(): does a proper redirect without creating browser history but I cannot preserver the parameters.
* Server.Transfer: preserves the parameters but the browser's URL remains unchanged.
* Create a client form on the fly and submit in "onload": works, querystring is gone, parameters are accessible through Request.Form, but creates a history entry in the browser.
The only thing I can currently think of is to store the parameters in the session, then redirect, then pick them up from there.
View 2 Replies
Dec 17, 2010
I am trying to make a website with on each page the same shopping-cart.When a client presses on his browser's back, forward or refresh button, the shopping-cart should always be up-to-date and not change.And this all without receiving the ugly "webpage is expired" message!And not using php!)I thought it would be easy to find an example for this kind of website, but.... no!
View 20 Replies
Feb 28, 2010
I am a student and .net freshers.I have been working on a website using asp.net and has used menu control in it.it has various sections like home,about us ,customer care and i have set navigate url for each menu parts and submenus .but it is not navigating to respective pages while it is opened in browser. I have seen sitemap usage and iE8 compatiblity articles does it needs to be done ...cant it workout just by setting navigate url in property of menu?
View 6 Replies
Feb 9, 2011
In asp.net(C#) i'm using masterpage and childpage.
in masterpage i used TreeView Navigation control to view the Childpage.
.What my doubt is......when i select the navgation control
my TreeView Control should be disable and when i click cancel button in Child page it will enable..
View 4 Replies
Aug 20, 2010
disable back button on my asp.net application. I Should not be able to go back to my previous page after I logout.
View 2 Replies
Feb 25, 2016
[URL] ....
By using above query its fine to save logout time in database, if the user unfortunately close the browser without logout then how to store logout time in database...
View 1 Replies
Jun 25, 2013
I have two asp page first is login page. I enter username and password then after submit click goes second page their is a logout option. then thr URL of second page is copy and paste in another browser then it will second page it is not logout,I want to after paste URL it goes Login page.
View 1 Replies
Jun 16, 2015
I want to kill the session on the browser closing or tab closing and store the Logout time in database using Asp.Net.
I have coded that code in Global.asax page which works only when we Click on Logout Button .but it's not worked on the tab closing /Browser closing.
void Session_End(object sender, EventArgs e) {
SqlTransaction transaction = null;
using (SqlConnection con = new SqlConnection(conn)) {
con.Open();
SqlCommand cmd = con.CreateCommand();
transaction = con.BeginTransaction("Transactions");
[Code] ....
View 1 Replies