NetTalk Central

Author Topic: How to allways login to the same page.  (Read 2362 times)

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
How to allways login to the same page.
« on: May 10, 2014, 05:43:36 AM »
When you are disconected been in, lets say, a form, and you refresh the page an the page is set as User must be login the login page appears, you log in and you are redirected to the form.
Problem is your last session variables are ddeleted and so on.
How to go from the login allways to the same page?
Thanks
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: How to allways login to the same page.
« Reply #1 on: May 11, 2014, 06:02:39 AM »
you can re-direct the user off the "form" when the session expires - probably to a page that says something like "your session has ended".

That's do-able using the session countdown script - which is generated (optionally) into the footer procedure by the wizard.

That solves the next problem, which is that because the session has expired the form is no longer valid anyway.

cheers
Bruce