フォーラム

ホーム » Liferay Portal » English » 3. Development

構造的に表示 平面上に表示 ツリー上に表示
スレッド [ 前へ | 次へ ]
toggle
Ákos Gábriel
Differentiate logged-in sessions
2012/09/11 23:10
答え

Ákos Gábriel

ランク: Junior Member

投稿: 33

参加年月日: 2009/10/05

最近の投稿

Hi,

I'm trying to configure Varnish (reverse proxy) for our portal. For guest sessions (not logged in) it works perfectly. However I need to disable caching for logged-in sessions (for obvious reasons).

Now this doesn't seem to work.

Varnish can decide based on information being in the HTTP header:

- request type (post,get,...)
- request url
- cookies present

Varnish can also put cookies into the response header so once varnish detected a session is logged in, it can track that throughout the full lifetime of the session.

Thanks for any help/hint.

Akos
http://i-logic.hu
Ákos Gábriel
RE: Differentiate logged-in sessions
2012/09/12 10:20
答え

Ákos Gábriel

ランク: Junior Member

投稿: 33

参加年月日: 2009/10/05

最近の投稿

OK, looks like I've found a solution.

Akos
http://i-logic.hu