How to clear browser history pages programmatically from ASP.Net web page
-
Hi, can some body tell me How to clear browser history pages programmatically from ASP.Net web page
-
Hi, can some body tell me How to clear browser history pages programmatically from ASP.Net web page
Anuradha612 wrote:
ASP.Net web page
This is not possible as ASP.NET page will be executed at the server and server don't have access to browser history. Why do you need to delete it ?
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions
-
Hi, can some body tell me How to clear browser history pages programmatically from ASP.Net web page
hey write this function to clear the browser history Clear the IE's History Sub ClearIEHistory() Dim keyName As String = "Software\Microsoft\Internet Explorer\TypedURLs" ' delete the key that contains the URLs the history Microsoft.Win32.Registry.CurrentUser.DeleteSubKey(keyName, False) ' recreate the key, empty Microsoft.Win32.Registry.CurrentUser.CreateSubKey(keyName) End Sub hope it help u
-
hey write this function to clear the browser history Clear the IE's History Sub ClearIEHistory() Dim keyName As String = "Software\Microsoft\Internet Explorer\TypedURLs" ' delete the key that contains the URLs the history Microsoft.Win32.Registry.CurrentUser.DeleteSubKey(keyName, False) ' recreate the key, empty Microsoft.Win32.Registry.CurrentUser.CreateSubKey(keyName) End Sub hope it help u
Ravi_21 wrote:
Sub ClearIEHistory() Dim keyName As String = "Software\Microsoft\Internet Explorer\TypedURLs" ' delete the key that contains the URLs the history Microsoft.Win32.Registry.CurrentUser.DeleteSubKey(keyName, False) ' recreate the key, empty Microsoft.Win32.Registry.CurrentUser.CreateSubKey(keyName) End Sub
This will clear server's IE history !
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions
-
Ravi_21 wrote:
Sub ClearIEHistory() Dim keyName As String = "Software\Microsoft\Internet Explorer\TypedURLs" ' delete the key that contains the URLs the history Microsoft.Win32.Registry.CurrentUser.DeleteSubKey(keyName, False) ' recreate the key, empty Microsoft.Win32.Registry.CurrentUser.CreateSubKey(keyName) End Sub
This will clear server's IE history !
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions
When ever i try to open the page, if there is some cached content, it retreives that old page instead of the newly updated one, then each time i had to refresh the page to reflect the newly made changes Thanks in advance
-
Ravi_21 wrote:
Sub ClearIEHistory() Dim keyName As String = "Software\Microsoft\Internet Explorer\TypedURLs" ' delete the key that contains the URLs the history Microsoft.Win32.Registry.CurrentUser.DeleteSubKey(keyName, False) ' recreate the key, empty Microsoft.Win32.Registry.CurrentUser.CreateSubKey(keyName) End Sub
This will clear server's IE history !
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions
N a v a n e e t h wrote:
This will clear server's IE history !
But even that would have no effect. It would clear the Internet Explorer history of the ASP.NET profile on the server.
Vasudevan Deepak Kumar Personal Homepage
Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson -
When ever i try to open the page, if there is some cached content, it retreives that old page instead of the newly updated one, then each time i had to refresh the page to reflect the newly made changes Thanks in advance
How about having Cache disable directives for the page?
Vasudevan Deepak Kumar Personal Homepage
Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson -
N a v a n e e t h wrote:
This will clear server's IE history !
But even that would have no effect. It would clear the Internet Explorer history of the ASP.NET profile on the server.
Vasudevan Deepak Kumar Personal Homepage
Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis LevinsonThere might be some solution to the problem, i am seriously stuck up with that issue
-
There might be some solution to the problem, i am seriously stuck up with that issue
Have you tried in other browsers ? It looks like a browser setting issue. BTW, have you enabled caching on your webpage ?
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions