Forum Moderators: coopster

Message Too Old, No Replies

Login system with admin features

         

akademik

9:47 am on Aug 5, 2008 (gmt 0)

10+ Year Member



Hi, I would like to use PHP script named "Login system with admin features" which can be find on evolt.org site.
My question is related to page refresh. What I mean, when you refresh page based on mentioned script, it will always end at top, not at point where it was before refreshing. Which part of script (if any?) is causing this? Just to note this is issue in FF, IE works fine (how strange :))
Also, when I hit back button, page will contact server. How can I change this?

I would be grateful for help from someone who use this script.
Thanks

eelixduppy

1:16 pm on Aug 8, 2008 (gmt 0)



Both of the "problems" you have mentioned are caused by the browser, not your script. I'm not sure there's anything you can do about the first one other than use another method entirely, however, for your second issue you can have a meta refresh on the action page so that when a user hits the back button it doesn't resubmit the contents of the form again.

pixelxdesign

4:35 am on Feb 19, 2009 (gmt 0)

10+ Year Member




System: The following message was spliced on to this thread from: http://www.webmasterworld.com/php/3852873.htm [webmasterworld.com] by eelixduppy - 12:19 pm on Feb. 19, 2009 <small>(est -5)</small>


The best way to avoid page reload is to submit form to iframe, then this way you'll never get this problem.

sorry for my bad english.

[edited by: eelixduppy at 5:19 pm (utc) on Feb. 19, 2009]