Click here to Skip to main content
16,021,112 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have an issue. I need to handle the opera mobile back button.
I am not able to map the back button of opera mobile to events in c# code.
Its urgent,kindly do the help ASAP.
Posted
Updated 23-Sep-10 5:45am
v2
Comments
Sandeep Mewara 23-Sep-10 11:44am    
A tip: word 'urgent' is not liked much out here...

1 solution

XML
Response.AppendHeader( "Cache-Control" , "no-cache" );
      Response.AppendHeader( "Cache-Control" , "private" );
     Response.AppendHeader( "Cache-Control" , "no-store" );
     Response.AppendHeader( "Cache-Control" , "must-revalidate"                Response.AppendHeader( "Cache-Control" , "max-stale=0" );
   Response.AppendHeader( "Cache-Control" , "post-check=0" );
            Response.AppendHeader( "Cache-Control" , "pre-check=0" );            Response.AppendHeader( "Pragma" , "no-cache" );


Add the above code in Page_load event of the page and remove <outputcache> tag at page level.the page will be reloaded on click of back button in opera emulator.(as we removed the cache.
 
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