phorcon3 Posted January 29, 2008 Share Posted January 29, 2008 When I have a post command on a certain page, and then just link to a different page after the command has been executed, and then try again to go back to the same page I started from by clicking on the 'back button' in IE, I get the following error: Error Message: Warning: Page Has Expired: The Page You Requested...blah blah and my question is, how do you get rid off of that? I hope this makes sense?! It's a search page, and to get rid off of the error I have to click refresh and then OK to get the same results as from before. I suppose it has something to do with the PHP session ID? I just think it's a pain in the ass lol and I wish it would automatically update the page. Appreciate any help. Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/88402-solved-php-session/ Share on other sites More sharing options...
valtido Posted January 29, 2008 Share Posted January 29, 2008 QUESTION ======== My users are getting the following error message when they try to go back a page: Warning: Page has expired ...... Why is this happening and how can I change it ANSWER ====== There is an error in IE4 that is fixed by SP1. You can download this from Microsoft. http://www.weberdev.com/get_example-567.html Lol simple explaination i guess hahaha Quote Link to comment https://forums.phpfreaks.com/topic/88402-solved-php-session/#findComment-452431 Share on other sites More sharing options...
revraz Posted January 29, 2008 Share Posted January 29, 2008 Who still uses IE4? Quote Link to comment https://forums.phpfreaks.com/topic/88402-solved-php-session/#findComment-452432 Share on other sites More sharing options...
phorcon3 Posted January 29, 2008 Author Share Posted January 29, 2008 thanks ..im using IE7 tho.. dun tell me its got the same kinda problem.. it wouldn't surprise me tho. Quote Link to comment https://forums.phpfreaks.com/topic/88402-solved-php-session/#findComment-452438 Share on other sites More sharing options...
phorcon3 Posted January 29, 2008 Author Share Posted January 29, 2008 and its the same in FF ..it definitely has somethin to do with the post command, doesnt matter which browser ur usin. Quote Link to comment https://forums.phpfreaks.com/topic/88402-solved-php-session/#findComment-452442 Share on other sites More sharing options...
valtido Posted January 29, 2008 Share Posted January 29, 2008 alryt dont shoot im just the messenger loool joking. ermm well its a bit difficult to get wot it is unless i have experienced it myself b4 loool which i havnt. check that you have a session_start at the top loool and its on the top of the page loool PS Quote Link to comment https://forums.phpfreaks.com/topic/88402-solved-php-session/#findComment-452451 Share on other sites More sharing options...
phorcon3 Posted January 29, 2008 Author Share Posted January 29, 2008 lol thanks for ya help ..but i didnt forget bout the session_start(); that error is just effed up.. Quote Link to comment https://forums.phpfreaks.com/topic/88402-solved-php-session/#findComment-452458 Share on other sites More sharing options...
GameYin Posted January 29, 2008 Share Posted January 29, 2008 If you give us the code I'm sure we can help you figure this out. This has happened to me though it was because of several reasons, Post the HTML form code and the PHP code in the action attribute. Quote Link to comment https://forums.phpfreaks.com/topic/88402-solved-php-session/#findComment-452459 Share on other sites More sharing options...
phorcon3 Posted January 29, 2008 Author Share Posted January 29, 2008 nah, it's ok ..but thanks anyway. i just changed it to GET instead of POST ...doesnt really make a big difference anyway, i guess. but thanks;) Quote Link to comment https://forums.phpfreaks.com/topic/88402-solved-php-session/#findComment-452480 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.