i am creating a web application,when a user clicks logout it clears the session and also succesfully logsout,but when i press back button on browser it again shows the user is loged in,how to avoid this
View Complete Post
I added a table to a page, by default, the table layout is the light border. So, I add my content and the vertical align seems to set to the top. But when I changed it to clear border, the content of the table will set vertical align to center. Is there
a way to change this back to top align but with the clear border. I don't think I can do this by what is available in the ribbon. Please advice.
This sounds bizzare, I tried it on an OOTB publishing site.
I have a page X in site A. Page X has version 1.0 and 2.0 approved and published, no minor versions anywhere. I choose to move page X to site B. Page X now has revision history version 1.0 (published and available) and version 1.1, which is exactly
the same as version 2.0 but no longer visible to the outside world.
So the first problem is that moving a page makes a previously published and overwritten version of the page content available again. If I publish the page it goes to version 2.0, but I have to remember to do this. Also because I approve the page, my user
id is associated with the publication of the content (which is sorta ok) but the original author of version 2.0 has now presumably been lost to the ether ... or the green swirling icon of death.
But I don't publish page X because I think "oops I meant to move page Y" and move it back to site A, without first publishing version 1.1. Now I have version 0.1 and 0.2. 0.1 matches the original version 1.0, and version 0.2 matches the original
version 2.0, however the best bit is that the timestamps are such that version 0.1 is now checked in
after version 0.2.
I then publish the page, I now have version 0.1 and 1.0, where 0.1 matches the original version
I've a problem with a TextBox in combination with the AutoCompleteExtender.
I'd like to delete the input history of the TextBox, because it covers the List of the AutoCompleteExtender or if this isn't possible to add the history to the List.
I hope I made my problem clear.
I am stuck with a unusual Scenario, I have Default.aspx page which contains a Search criteria option and Gridview, After doing particular search result is displayed in Gridview .
When i click on selectedindexchanged event of Gridview it takes me to another page called Details.aspx where there is form in edit mode where the user can update and save the data into a database . In Details.aspx page i have link button which have history.back function which takes me to default.aspx page where i can retain my Search criteria and Gridview Result but my query is when click on Link button i want to call any of the Events of Default.aspx page.
Thanks in Advance
anyone got an idea on how to create a logout page that clears the session and cookies??? using c# .net...
I am using master page and i use session id to identify coming user before navigation
i have a link button to logout ..this link button only will navigate to login page
once navigated if i click back i am still able to browse the page
clickin logout button not cleanin the session? how to avoid page click back??????
or how to clear session id when user click logout?
please help me
In logout link's click event i have written Session.Abandon() that will destroy the Session state.I am also handling Session_End event that is fired afterward (written in Global.asax). But one more thing i want is that after Session ends, login page should be redirected (opened).
For that i wrote:
Protected Sub logOut_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles logOut.Click
This is working fine on the surface, but after applying debugging i saw that there were unexpected number of calls to Session_Start and Session_End events for two times, then login page was opened.
Why Session_Start and Session_End was called two times ? If i left this process as it is working then may i get some serious error in future ?