Link to home
Create AccountLog in
JavaScript

JavaScript

--

Questions

--

Followers

Top Experts

Avatar of tia_kamakshi
tia_kamakshi🇦🇪

Browser or server cache?
Hi,

I am working on ASP.net 2.0 using C#

on my website and on special offer page, when it loads pop up comes with list of countries.

This list of countries is the user control

When I put the link on address bar of my browser, then popup doesn't comes, but If I refresh the page pop up comes with country list

I have added meta tag on master file to expire page but it doesn't help

Can you please help me fixing the issue.

Regards,

Zero AI Policy

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


ASKER CERTIFIED SOLUTION
Avatar of OklahomaDaveOklahomaDave

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
Create Account

Avatar of richard_hughesrichard_hughes🇬🇧

Hello  tia_kamakshi

There are a few reasons this could be happening. Is this user control put on the page during the first Page_Load? Is there some JavaScript that is stopping the countries list appearing a 2nd time?

As OklahomaDave has suggested, perhaps if you post the relevant code we could give a more specific answer for you.

Thanks,

Richard Hughes

Avatar of tia_kamakshitia_kamakshi🇦🇪

ASKER

Hi,

Thanks for your reply.

Yes, there is a session involved to check if country is already there in session then do not bring the pop up

and jquery is used to call the control. Its comming like model screen (ajax)

It is hard to put the code as the code is bit complicated and its hard to paste the code. It is difficult to find which code to paste.

I am also new to the application as this is a support project.

Please advice.

Thanks again

Well, tia_kamakshi, I think what we're suggesting right now is that it's difficult for us to be more specific with our help if we can't see some code....

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.

JavaScript

JavaScript

--

Questions

--

Followers

Top Experts

JavaScript is a dynamic, object-based language commonly used for client-side scripting in web browsers. Recently, server side JavaScript frameworks have also emerged. JavaScript runs on nearly every operating system and in almost every mainstream web browser.