Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / June 2007

Tip: Looking for answers? Try searching our database.

urgent query

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
bushi - 09 Jun 2007 09:42 GMT
hi every one!
i have displayed a webpage "my_adserver" on my main webpage
"client_browser" by using iframe.its working,but there is some problem
with page load event of my_server.as i want to achieve some
functionality  in its page_load() event.it never fires,i have checked
it by debugging a lot of times.any one knows about page_load() event
of a page using in iframe, guide me its too urgent.
i'll wait for any rply anxiously
Alexey Smirnov - 09 Jun 2007 09:58 GMT
> hi every one!
> i have displayed a webpage "my_adserver" on my main webpage
[quoted text clipped - 4 lines]
> of a page using in iframe, guide me its too urgent.
> i'll wait for any rply anxiously

it seems that it's simply cached

try to add to my_adserver

Response.Expires = 0
Response.Cache.SetNoStore()
Response.AppendHeader("Pragma", "no-cache")
bushi - 09 Jun 2007 10:14 GMT
> > hi every one!
> > i have displayed a webpage "my_adserver" on my main webpage
[quoted text clipped - 12 lines]
> Response.Cache.SetNoStore()
> Response.AppendHeader("Pragma", "no-cache")

plz can u explain it that u have suggest i can't got a single
point,where i should place this piece of code?
Alexey Smirnov - 09 Jun 2007 10:22 GMT
> > > hi every one!
> > > i have displayed a webpage "my_adserver" on my main webpage
[quoted text clipped - 17 lines]
>
> - Show quoted text -

Put that code in the Page_Load event of the page where Page_Load event
"is not fired".

VB.NET

> > Response.Expires = 0
> > Response.Cache.SetNoStore()
> > Response.AppendHeader("Pragma", "no-cache")

C#

Response.Expires = 0;
Response.Cache.SetNoStore();
Response.AppendHeader("Pragma", "no-cache");

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.