Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: BUG: Back Button

BUG: Back Button 15 years 10 months ago #3316

  • mbailey
  • mbailey's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 18
  • Thank you received: 0
I struggled with this one for some time ...

If someone enters 3 into the group size and then changes their mind and hits the back button and changes the group size to 5, it remains as 3. So the input form on the group registration page is not overwriting the $memtot session value.

--
Max.
[url=http://www.myprimer.ca:c089z4rb]www.myprimer.ca[/url]

Please Log in or Create an account to join the conversation.

BUG: Back Button 15 years 10 months ago #3350

  • fr33lanc3r
  • fr33lanc3r's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
I am seeing the same problem. Has anyone coded a solution for it?

THX

Please Log in or Create an account to join the conversation.

BUG: Back Button 15 years 10 months ago #3364

  • RudiH
  • RudiH's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 0
Hi,

Try to change this line in dtregister.php:

if (!isset($_SESSION[\'register\'][\'memtot\'])){$_SESSION[\'register\'][\'memtot\']=trim( mosGetParam( $_REQUEST, \'memtot\', \"\" ) );}

To:

if (isset($_REQUEST[\'memtot\'])){$_SESSION[\'register\'][\'memtot\']=trim( mosGetParam( $_REQUEST, \'memtot\', \"\" ) );}

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 1.151 seconds