• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

login and redirection  RSS feed

 
Ranch Hand
Posts: 386
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


When username and password are provided, info is sent to "https://secureo.rogers.ca/myrogers/resources/login/invisibleLogin/prepareLoginFCC.jsp" which redirects to
"https://secureo.rogers.ca/myrogers/seclvl2dispatch.jsp?language=en®ion=ON"
When I click on back button, I am coming back to the original login page, but I am not logged in this time. i should be logged in to the page as long as I dont log out.
So how to solve this problem ? Is it due to redirection ?

thanks
 
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The reason could be that when you click the 'back' button the browser reads from the cache. Hence it displays the same page.
 
nirjari patel
Ranch Hand
Posts: 386
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It doesnt display the same page.
It displays the page its supposed to display. But I am not logged in this time, which I should be.

Page A has login fields - I provide the info and I am directed to Page B. At the top corner, my name is shown and I am logged in
When I click "back" button on Page B , I come back on Page A (as expected). But this time I am logged out, where as I shouls be logged in to the page.

Why am I getting logged out ? What shall I do to make sure I am logged in to the page, when I come back ? I should be logge out only when I select Log Out option.

thanks
 
Sebastian Janisch
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's hard to glimpse what exactly the problem is.

Maybe, when you use the back button, the session ID is not transmitted in the request. If you are familiar with firebug you could check if - once you click the back button - the seesion id is a) transmitted at all and b) matches the one of the previous request (when you got to the actual page that shows you are logged in).
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!