24.01.2017, 13:31
Hi,
I have 2 pages, the first for displaying some datas and the second for displaying important error.
Now what I would to do is:
- when there are no errors, users can only see the first page.
- when there are errors, users can only see the second page until the errors are returned to 0.
- if a users open the page after errors occurred, he must see only the second page.
- if errors occured when a user have open the first page, he must be redirected to the second page.
PS: all errors are 1 bit objects (0 = no error, 1 = error)
Is there a way to do that?
Hope that you understand what I mean, otherwise I will try to explain better!
Thanks!
I have 2 pages, the first for displaying some datas and the second for displaying important error.
Now what I would to do is:
- when there are no errors, users can only see the first page.
- when there are errors, users can only see the second page until the errors are returned to 0.
- if a users open the page after errors occurred, he must see only the second page.
- if errors occured when a user have open the first page, he must be redirected to the second page.
PS: all errors are 1 bit objects (0 = no error, 1 = error)
Is there a way to do that?
Hope that you understand what I mean, otherwise I will try to explain better!
Thanks!