Well when a user clicks back he is actually more than likely viewing a cached page that resides on his computer from the last time he accessed the page. in ASP 3.0 we woud use Response.AddHeader "Pragma", "no-cache" Response.AddHeader "Cache-Control", "no-cache" In ASP.NET we use Response.Cache.SetCacheability(HttpCacheability.NoCache) Response.Cache.SetExpires(Now()) Hope this helps, put it some where near the top of the document!:) - Michael Fasani www.michaelfasani.com
AGeNt7eVeN
Posts
-
how to detect back button from client..... -
SQL Statement with Dates in ASPI have a field called validfrom and validto inside my Table I want a user to be able to enter two dates and then my page pulls back all the data where there dates fall inside the dates in the DB. something like SELECT * from table where form.date1 and form.date2 fall between "VALIDDFROM" and "VALIDTO" So I have a validfrom date January and a validto date of december in the db in same record but my user types in feb to march as feb to march falls inside the jan - dec period that result is pulled to the broweser? Working with MsAccess and ASP Thanks - Michael Fasani www.michaelfasani.com
-
ASP - DATE questionI have a fields called validfrom and validto something like SELECT * from table where form.date1 and form.date2 fall between "VALIDDFROM" and "VALIDTO" So I have a validfrom date January and a validto date of december in the db in same record but my user types in feb to march as feb - march falls inside the jan - dec that result is pulled to the broweser? - Michael Fasani www.michaelfasani.com
-
assemblyinfo.vbIn VS.NET 2003 whis is this file created for? assemblyinfo.vb - Michael Fasani www.michaelfasani.com
-
Synchronising VS.NET 2003ok so is this the right thing todo? I connect to the project on the server from my laptop I check out the whole project and save all to disk, then I disconect the laptop and take it home for say the weekend, then I update the site localy on the laptop, Then monday morning, I connect my laptop to netwrok open files and check it in to the server? Cheers guys - Michael Fasani www.michaelfasani.com
-
Synchronising VS.NET 2003SOrry to be a complete retard, what do you mean by it comes with vs.net (IIRC) I allready have it? *confused* If I have it where can I locate it in vs.net 2003 - Michael Fasani www.michaelfasani.com
-
Synchronising VS.NET 2003Thanks for the reply There both pretty advanced? I just want to make sure I have sycronised code acroos to computers? How can I import the code from one machine to another? - Michael Fasani www.michaelfasani.com
-
Synchronising VS.NET 2003I am just about to start a huge ASP.NET project, so wil be here bugging you guys more often! OK, I have a laptop and a desktop, both running VS.NET 2003, Now how can I work on this project from both the laptop and the desktop, so if I work on the desktop during the day, I then want to take the laptop home to work on, then bring it back and then work on the dektop again, can I do some kind of auto sync? So the different machines update to the latest code? or How do I do this manually, so I am allways working with the latest version of my project? -AGeNt7eVeN - Michael Fasani www.michaelfasani.com