Solved

Refresh Prob - Cache

Posted on 2002-03-06
10
238 Views
Last Modified: 2008-03-17
Hi There
 Iam using php4 wt Apache on linuxsrever, i have a drop down menu in my site for navigation, the pages ar e called by making form submission, but the problem is once the next page is called , if i hit the back button i get page expired , u need to refresh
Is there any configraton to be changed on the web server , for the browser to cache the page because this works fine on asp wt IIS
Pramod
0
Comment
Question by:pramod_od
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
10 Comments
 
LVL 8

Expert Comment

by:us111
ID: 6844601
hmm strange it should work.
Do you have header("no-cache..         ) into the first page ??
It could be your problem
0
 

Author Comment

by:pramod_od
ID: 6846511
no, how does php decide on cache , is there anything in php.ini
0
 
LVL 5

Expert Comment

by:dkjariwala
ID: 6846999
Are you by any means using session to generate the form ?
If form is HTML one, then this won't happen for sure.

Let me know,
JD
0
WordPress Tutorial 4: Recommended Plugins

Now that you have WordPress installed, understand the interface, and know how to install new parts, let’s take a look at our recommended plugins.

 

Author Comment

by:pramod_od
ID: 6847037
I am keeping sessions but it has nothing to do with the form, basically the submission calls the the file for option clicked on the  menu
0
 
LVL 5

Expert Comment

by:dkjariwala
ID: 6847049
No it has to do with sessions.

How you are passing session id ?
If you are not passing it manually and using PHP's enable-trans-id option then let me tell you that it would use cookies to pass on session id which has headers which may cause page to expire.

Check,

http://www.php.net/manual/en/function.session-cache-limiter.php

I guess this should solve the problem,

JD
0
 
LVL 5

Accepted Solution

by:
dkjariwala earned 50 total points
ID: 6847060
Yeah,

Let me tell you,
when you do session_start call,

Just put up this statment,

session_cache_limiter('public');

JD
0
 

Author Comment

by:pramod_od
ID: 6847089
You are right JD,  prob solv pts r urs
0
 

Author Comment

by:pramod_od
ID: 6847106
Will this ruin my session tracking
0
 
LVL 5

Expert Comment

by:dkjariwala
ID: 6847108
Great that you sorted it out !! :)

JD
0
 

Author Comment

by:pramod_od
ID: 6847552
Will my session tracking get jackd
0

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to dynamically set the form action using jQuery.

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question