Sessions : The page cannot be displayed

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
montecristo
Forum Newbie
Posts: 20
Joined: Thu Oct 19, 2006 9:51 am

Sessions : The page cannot be displayed

Post by montecristo »

Hi guys,

I have three pages (page a, page b, page c). Page a is a search page which passes the user input to page b which then passes another value to Page c.

They all have session_start() in their pages. When I press the back button from Page C to Page B, I get the microsoft internet explorer error "The page cannot be displayed"

What I need is for page B to display the same information before it went to Page C. However when I press the refresh button the Page B it displays the information

Any ideas where I am going wrong?

Thanks
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Look at the cache control settings used in the PHP header() function.
Post Reply