Forum FAQForum FAQSearchSearch MemberlistMemberlist Forum ignore listForum ignore list RegisterRegister ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in
no cache u asp-u

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Server-side
View previous topic :: View next topic  
Author Message
vedran



Joined: 08 Sep 2003
Posts: 458

PostPosted: 05.03.2004 19:49    Post subject: no cache u asp-u Add user to your forum ignore list Reply with quote

Imam stranicu u asp-u i cesto mi ju podize iz kesa..Znaci ja sam odlogiran i dodem na stranicu i ispada kao da sam prijavljen i kada napravim refresh sve je ok.

Dodao sam ove headere koji bi trebali sprijeciti cache
Code:

Response.Expires = -1
Response.ExpiresAbsolute = Now() - 2
Response.AddHeader "pragma","no-cache"
Response.AddHeader "cache-control","private"


Ali me zanima dali ce oni svaki puta iznova podizati stranicu..znaci sve elemente..slike,flash ili se to samo odnosi na asp..
Jer nebi volio da se stranica svaki puta iznova podize.. Evil or Very Mad
Hvala

_________________
http://www.hocusvojweb.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
zvone



Joined: 09 Sep 2003
Posts: 160
Location: Zg

PostPosted: 05.03.2004 22:30    Post subject: Add user to your forum ignore list Reply with quote

Probaj ovako kako je ovdje objašnjeno, iako je to zapravo isto, ali probaj, ništa te ne košta Smile

http://www.asp385.com/tips.asp?id=6

_________________
Odin's descendant
Back to top
View user's profile Send private message
vedran



Joined: 08 Sep 2003
Posts: 458

PostPosted: 06.03.2004 08:30    Post subject: Add user to your forum ignore list Reply with quote

Ok,to je manje vise to..ali mene zanima dali se to chaciranje odnosi na cijelu stranicu(slike..) ili samo na server side,u ovom slucaju asp..

_________________
http://www.hocusvojweb.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
zvone



Joined: 09 Sep 2003
Posts: 160
Location: Zg

PostPosted: 06.03.2004 09:10    Post subject: Add user to your forum ignore list Reply with quote

Pa koliko ja znam to se odnosi na sve ... Samo pazi da ti nisu stranice ostale u cache-u prije nego si postavio ovaj kod u stranicu. Znači obriši cache, stavi onaj kod i probaj.

Stranice se ne bi smjele cacheirati.

_________________
Odin's descendant
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Server-side All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group