Refresh Prob - Cache

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
pramod_odAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
dkjariwalaConnect With a Mentor Commented:
Yeah,

Let me tell you,
when you do session_start call,

Just put up this statment,

session_cache_limiter('public');

JD
0
 
us111Commented:
hmm strange it should work.
Do you have header("no-cache..         ) into the first page ??
It could be your problem
0
 
pramod_odAuthor Commented:
no, how does php decide on cache , is there anything in php.ini
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
dkjariwalaCommented:
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
 
pramod_odAuthor Commented:
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
 
dkjariwalaCommented:
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
 
pramod_odAuthor Commented:
You are right JD,  prob solv pts r urs
0
 
pramod_odAuthor Commented:
Will this ruin my session tracking
0
 
dkjariwalaCommented:
Great that you sorted it out !! :)

JD
0
 
pramod_odAuthor Commented:
Will my session tracking get jackd
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.