Jump to content


Photo

Overall Web page related problems


  • Please log in to reply
5 replies to this topic

#1 Ninjakreborn

Ninjakreborn
  • Members
  • PipPipPip
  • Information Technology Specialist
  • 3,922 posts
  • Age:33

Posted 26 September 2006 - 02:05 PM

Website Information
URL: http://www.thecampussource.com
Problem Pages- All
Problem Information
  9-24-06 I recieved an email from my client, they had some changes they wanted to be made within there website (www.thecampussource.com).  I looked over there notes, and as I always do with clients, began knocking stuff off the list one after another.  Then I ran into 2 statements, that didn't strike me as odd because of the situation, and I had also noticed this.  As a Web Developer I know what causes this, but I didn't think there was a fix for it.  These are the 2 seperate things they said to me, and the first one, I saw happen for myself.
Quote 1-

Sometimes when I hit back it says page has expired

Quote 2-

When using Mozilla, when you switch schools then browse and hit the back button, a popup comes up that says, "The page you are trying to view contains POSTDATA that has expired from cache. If you resent the data, any action the form carried out (such as a search or online purchase) will be repeated. To resend the data, click OK. Otherwise, click Cancel."


Theory of problem
In order to keep the selected schools working properly, I have to make the form send it to index.php, and sometimes it comes from links, so I set up a session instead to lessen the amount of difficulties, I was also recieving this problem when attempting get and post.  But I don't know of a fix for this, or totally why it's happening, now in terms that I can explain.

------

Business Website: http://www.infotechnologist.biz

Personal Website: http://www.joyelpuryear.com

Blog Site: http://www.realmofwriting.com
Services: Web development, application development, mobile development, and custom development. All services listed on my website.


#2 trq

trq
  • Staff Alumni
  • Advanced Member
  • 31,041 posts

Posted 26 September 2006 - 02:07 PM

This is expected http behaviour. The erros are pretty self explanitory.

#3 Ninjakreborn

Ninjakreborn
  • Members
  • PipPipPip
  • Information Technology Specialist
  • 3,922 posts
  • Age:33

Posted 26 September 2006 - 02:20 PM

I know "why" they are happening, I am wondering if there is a way to fix this or not.

------

Business Website: http://www.infotechnologist.biz

Personal Website: http://www.joyelpuryear.com

Blog Site: http://www.realmofwriting.com
Services: Web development, application development, mobile development, and custom development. All services listed on my website.


#4 alpine

alpine
  • Members
  • PipPipPip
  • Advanced Member
  • 756 posts
  • LocationNorway

Posted 26 September 2006 - 02:30 PM

To prevent post warning on back-button, use method get in the form instead. But ofcourse, the warning is present for a purpose as you know - to prevent repeating (re-submit) something without users attention.

As to the expired notice, do you have an expires meta tag in the header ?

#5 trq

trq
  • Staff Alumni
  • Advanced Member
  • 31,041 posts

Posted 26 September 2006 - 02:31 PM

There are lots of solutions / ways around this problem. Try playing with the cache headers. also make sure that once a form has been submitted and processed, redirect (this uses GET) the user to a success page. This clears any POST data.

#6 Ninjakreborn

Ninjakreborn
  • Members
  • PipPipPip
  • Information Technology Specialist
  • 3,922 posts
  • Age:33

Posted 26 September 2006 - 02:34 PM

ok, thanks I will play with those.

------

Business Website: http://www.infotechnologist.biz

Personal Website: http://www.joyelpuryear.com

Blog Site: http://www.realmofwriting.com
Services: Web development, application development, mobile development, and custom development. All services listed on my website.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users