Usually as a server side developer, we will solve this browser back / forward issue by writing server side script conditions. But we can fix it by client side itself.
There are a couple of things to keep in mind when using the above method to force a browser to not cache a Web page:
* Pragma: no-cache prevents caching only when used over a secure connection. A Pragma: no-cache META tag is treated identically to Expires: -1 if used in a non-secure page. The page will be cached but marked as immediately expired.
* Cache-Control META HTTP-EQUIV tags are ignored and have no effect in Internet Explorer versions 4 or 5. ( No worries, hope all you know even IE6 itself dead i.e officially announced by MicroSoft )
Its pretty cool right!
Monday, November 1, 2010
Monday, June 28, 2010
Change your existing/saved SVN user to other user on your UNIX machine or MAC OSx
Locate and find your .subversion directory, mostly it will under your home directory.
.subversion/auth/svn.simple/random-numbered-file ( without extension )
for eg ( in my machine ) :
Jackys-MacBook:svn.simple gokulamurthy$ ls
772c71669d28a02d42addb1d967d1862
Jackys-MacBook:svn.simple gokulamurthy$ vi 772c71669d28a02d42addb1d967d1862
K 8
passtype
V 8
keychain
K 15
svn:realmstring
V 42
SVN Access
K 8
username
V 14
your-existing-svn-username
END
change your existing svn username to current username then save and close the file.
when you do any operation under your subversioned directory like svn ls , svn log, svn up, svn switch, etc., for any operations it will ask you enter the svn new username and password.
Thats all. Have Fun with SVN.
.subversion/auth/svn.simple/random-numbered-file ( without extension )
for eg ( in my machine ) :
Jackys-MacBook:svn.simple gokulamurthy$ ls
772c71669d28a02d42addb1d967d1862
Jackys-MacBook:svn.simple gokulamurthy$ vi 772c71669d28a02d42addb1d967d1862
K 8
passtype
V 8
keychain
K 15
svn:realmstring
V 42
K 8
username
V 14
your-existing-svn-username
END
change your existing svn username to current username then save and close the file.
when you do any operation under your subversioned directory like svn ls , svn log, svn up, svn switch, etc., for any operations it will ask you enter the svn new username and password.
Thats all. Have Fun with SVN.
Saturday, June 26, 2010
SVN log commands must be useful
SVN List of all files modified/added/deleted by a particular user:
svn log | sed -n '/username/ p'
For multiple users:
svn log | sed -n '/username/,/-----$/ p'
SVN List Comment and Files Changed for a Certain Revision:
svn log -v -r RevisionNo https://yoursvnurl.com
Hope this will help.
svn log | sed -n '/username/ p'
For multiple users:
svn log | sed -n '/username/,/-----$/ p'
SVN List Comment and Files Changed for a Certain Revision:
svn log -v -r RevisionNo https://yoursvnurl.com
Hope this will help.
Subscribe to:
Posts (Atom)