Forums

Home » Alloy UI » English

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Suresh Kumar
Forbidden Error
October 31, 2012 5:41 AM
Answer

Suresh Kumar

Rank: Junior Member

Posts: 41

Join Date: May 9, 2012

Recent Posts

Hi,

Scenario: After logging in, I am performing some operation and copy pasted the url in the different tab. I have signed out in second tab and continued working in the first tab. It is throwing Forbidden Error as below

Forbidden
You do not have permission to access the requested resource.

http://localhost:8080/web/guest/dashboard?p_auth=RKkc9QWO&p_p_id=psb_WAR_---portlet&p_p_lifecycle=1&p_p_state=normal&p_p_mode=view&p_p_col_id=column-2&p_p_col_count=2&_psb_WAR_psbportlet_javax.portlet.action=customerDetails



Could anyone help on this.

- Suresh
Hitoshi Ozawa
RE: Forbidden Error
October 31, 2012 5:57 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7949

Join Date: March 23, 2010

Recent Posts

That's simply because you've signed out. Try opening a new web browser and logging in instead of copying url.
Suresh Kumar
RE: Forbidden Error
October 31, 2012 6:34 AM
Answer

Suresh Kumar

Rank: Junior Member

Posts: 41

Join Date: May 9, 2012

Recent Posts

Hi Hitoshi Ozawa,

Thanks for the reply.

My requirement is to check in different tabs of the same browser. Is this possible to rectify the error ?

-- Suresh
Hitesh Methani
RE: Forbidden Error
October 31, 2012 6:59 AM
Answer

Hitesh Methani

Rank: Regular Member

Posts: 171

Join Date: June 24, 2010

Recent Posts

Hi Suresh,

Its not error actually, but its intended behavior, when you sign out from second tab, you automatically sign out in first tab also, so as you are not logged in you do not have permissions to access certain resources.

Regards,
Hitesh
Hitoshi Ozawa
RE: Forbidden Error
October 31, 2012 4:56 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7949

Join Date: March 23, 2010

Recent Posts

As Hitesh replied, this is not an error but an expected behavior because you're using the same session. This behavior isn't particular to liferay.
Suresh Kumar
RE: Forbidden Error
November 1, 2012 4:01 AM
Answer

Suresh Kumar

Rank: Junior Member

Posts: 41

Join Date: May 9, 2012

Recent Posts

Suresh Kumar:
Hi,

Scenario: After logging in, I am performing some operation and copy pasted the url in the different tab. I have signed out in second tab and continued working in the first tab. It is throwing Forbidden Error as below

Forbidden
You do not have permission to access the requested resource.

http://localhost:8080/group/guest/dashboard?p_auth=RKkc9QWO&p_p_id=psb_WAR_---portlet&p_p_lifecycle=1&p_p_state=normal&p_p_mode=view&p_p_col_id=column-2&p_p_col_count=2&_psb_WAR_psbportlet_javax.portlet.action=customerDetails



Could anyone help on this.

- Suresh


Thanks for all the replies.

In the first tab, without asking for credentials, its throwing this forbidden error.

Please note that it is users private page.

Could anyone let me know the solution ??

-- Suresh
Ahsan Ullah
RE: Forbidden Error
April 4, 2013 6:54 AM
Answer

Ahsan Ullah

Rank: New Member

Posts: 2

Join Date: March 20, 2013

Recent Posts

Hi Suresh,

as expected the browser is supposed to be redirected to the Login page. and this can be achived via liferay configuration.
Ankur Jaswal
RE: Forbidden Error
July 10, 2013 11:44 AM
Answer

Ankur Jaswal

Rank: Junior Member

Posts: 42

Join Date: August 12, 2010

Recent Posts

We are having this issue. Can you please let us know what configuration is required in Liferay to redirect the user to the login page ? We have Lifreay 6.0 EE SP1.
Hitesh Methani
RE: Forbidden Error
July 11, 2013 1:04 AM
Answer

Hitesh Methani

Rank: Regular Member

Posts: 171

Join Date: June 24, 2010

Recent Posts

Hello Ankur,

For that you need to set page level permissions, if page is public, just remove view permissions from guest user and give view permissions to required role.

Thanks,
Hitesh M