Last post Nov 16, 2007 10:10 AM by BobbyFrazier
Oct 30, 2007 04:16 PM|BobbyFrazier|LINK
*** Using asp.net 2.0 mobile controls.
I have a mobile app that has a page that creates a .vcf file and allows a user to click a link to get to that file.
Using the blackberry emulator (and real blackberry phone), the first time I hit this page it works fine, then second time it doesn't hit the server to get the page (and generate the new file), it uses the old version. This is the latest page in the site
and it was created in the same way as all the other pages. No other page seems to have this problem.
Works fine from the desktop browser.
I've placed the following markup at the top of my page:
<meta http-equiv="Cache-Control" content="no-cache"/>
I just don't know where to look for the answer to this problem. This should be a 5 minute deal but it's turing into hours now.
Anyone have any ideas of where to start looking? You obviously won't know my application but maybe the is something non-application specific that you could suggest.
Thanks in advance for any help.
Mobile Web Forms Visual Studio 2005
ASP.NET Mobile Controls
Mobile Web Forms
Blackberry asp.net mobile controls
Nov 16, 2007 03:14 AM|pawankumarsaini|LINK
following will help
link.NavigateUrl = "~/Default.aspx?gid=" + Guid.NewGuid();
this will always create new url where as guid parametar not used in coding
this will definatly work
i had same problum that solved with this
Nov 16, 2007 10:10 AM|BobbyFrazier|LINK
Actually I've been so busy I forgot to update this post.
Thanks for your response.
I was able to fix this in a different way than you were. In the Page_Load event I added the following line of code and the problem went away.