Click here to Skip to main content
15,892,674 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
My Silverlight 3.0 application contains some hyperlinks ( by clicking on which user can be redirected to other webpage outside my silverlight application).

First of all I thought of deleting user's browser history but now i got to know that due to Sandboxie environment it is not possible to interact with System directories.

Now i m thinking that if i made my application somehow to prevent creating History of redirected pages then my problem would be solved...

Hoping forward solutions!!!
Posted

If a page is viewed, then it will go into the history. Doing a server.transfer will prevent an intermediate page from appearing in the history. If a page is viewed, it will appear in the history. Why do you want to manipulate the history ? If you want to stop people from being able to go back, for reasons such as enforcing your login system, then your best bet is to make sure your pages do not cache, and adding some code that runs to decide if you want to allow the user to view a page when it is requested, and if not, to redirect to where-ever you feel you want the user to go.
 
Share this answer
 
If a page is viewed, then it will go into the history. Doing a server.transfer will prevent an intermediate page from appearing in the history. If a page is viewed, it will appear in the history. Why do you want to manipulate the history ? If you want to stop people from being able to go back, for reasons such as enforcing your login system, then your best bet is to make sure your pages do not cache, and adding some code that runs to decide if you want to allow the user to view a page when it is requested, and if not, to redirect to where-ever you feel you want the user to go.



thanx Christian.Okay let me elaborate the things.See actually i want that whenever user wishes to visit the same page (previously redirected by my application), he could not found any information about that page in browser.

Moreover as soon as he logout from my application,all visited page information only should be deleted.This will enhance security features.

How could i manipulate cache???


Hope u must be getting what i want to do.
 
Share this answer
 
v2
There is no way to do that. You can't remove your pages from your history. All you can do, is try to manage state in such a way that the individual steps the user takes, do not actually change the url. In either case, the only issue you could possibly have with security, is if your login system is not written properly.
 
Share this answer
 
If a page is viewed, then it will go into the history. Doing a server.transfer will prevent an intermediate page from appearing in the history. If a page is viewed, it will appear in the history. Why do you want to manipulate the history ? If you want to stop people from being able to go back, for reasons such as enforcing your login system, then your best bet is to make sure your pages do not cache, and adding some code that runs to decide if you want to allow the user to view a page when it is requested, and if not, to redirect to where-ever you feel you want the user to go.
 
Share this answer
 
Comments
CHill60 9-Feb-14 13:39pm    
Posting text from someone else's post does not constitute adding a solution - Christian Graus posted this exact text 4 years ago.
viewed, then it will go into the history. Doing a server.transfer will prevent an intermediate page from appearing in the history. If a page is viewed, it will appear in the history. Why do you want to manipulate the history ? If you want to stop people from being able to go back, for reasons such as enforcing your login system, then your best bet is to make sure your pages do not cache, and adding some code that runs to decide if you want to allow the user to view a page when it is requested, and if not, to redirect to where-ever you feel you want the user to go.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900