This topic is locked
[SOLVED]

 Cookies interfering with PHPRunner logins

4/9/2014 06:56:56
PHPRunner General questions
A
Anapolis author

Today I had to give instructions to a client that was using a recent version of the Firefox browser on a Windows machine to go to Settings and Clear Cookies from their browser.
After logging in they were redirected from the location I had set in PHPRunner 7.1 to the LAST screen they had closed from a previous day while logged in.
This was a PRINT window. Although they had logged in properly this "almost Admin level user" was not allowed to view the standard opening menus and tabs designed for them with their permissions.
They literally could NOT access their starting menu and the Custom and Table view tabs.
Because they had used a PRINT button that opened a separate tab or window in Firefox the day before and then shut down their computer for the day a new PHPRunner login would not show their normal "landing page" view. The place I want every one to start at.
ONLY clearing the cookies from their browser enabled them to log in to the PHPRunner pages normally.
Tomorrow the application is going "live" and many more users will be logging in to submit reports and forms.
Since I have many more people logging in to this new application with a variety of browsers I want them to all see what they are supposed to see after logging in over successive days or sessions.
No matter what pages they viewed from a previous session I want them to start each session "fresh".
Is there a way to alter the cookies PHPRunner sets, independent of browser preferences and brands of browsers, to simply open with the default view that I have set every time?
And the PHPRunner 7.1 Landing page setting seems to be global, which is not correct for all classes of users, so I have de-implemented it until I learn more.
So, again, my understanding is that PHPRunner is restricting or manipulating user interaction with its pages by user cookies that force the user to the last opened or closed PHPRunner page from their last session. And that because of this they either will not have access to their normal page views UNTIL they manually clear their PHPRunner cookies from the previous session, or the page view that opens after a login is going to be different from session to session depending on their last actions.
I have used other PHP applications that are not affected by user cookies when it comes to pages history in the browser.
I want to avoid having to tell every single user that they must clear their browser cookies from session to session when logging in to use a PHPRunner developed application.
Can you tell us, please, how this works?
Lastly, does the "After successful login" Header re-direct solve these cookie problems no matter what?
<img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=22177&image=1&table=forumtopics' class='bbc_emoticon' alt=':)' />

Sergey Kornilov admin 4/9/2014

It's im,possible to decipher what you trying to say but I will answer what I understand.
Landing page is a global setting. You can use AfterSuccessfulLogin event to redirect different types of users to different pages based on username/user type/group etc.