この会話は、活動がないためロックされています。新しい投稿を作成してください。
この会話は、活動がないためロックされています。新しい投稿を作成してください。
Is there a way to get a unique id from the httpRequest or somewhere for each page request ?
I noticed the request_id is the same for the same page run from different browsers. I did see this cb (call back) id that seems unique for each page request.
解決済! 解決策の投稿を見る。
表示
返信
いいね!の合計
In a request filter, you can then set a random number and use it all the way through..? Your filter can haev service ranking as Integer.maximum to come first i think.
表示
返信
いいね!の合計
May be the current thread id would be unique for each request? Can you try that and let me know if this is not going to meet your req. The reason i feel current thread id would work is, each req is assigned a thread.
表示
返信
いいね!の合計
AEM uses thread pooling for handling of requests. So the same thread could handle multiple requests, one after another, before being closed.
表示
返信
いいね!の合計
In a request filter, you can then set a random number and use it all the way through..? Your filter can haev service ranking as Integer.maximum to come first i think.
表示
返信
いいね!の合計
Hi thanks
I did see the same thread id being used again later, I'll try the filter.
表示
返信
いいね!の合計
thanks - a double random number set in the request bean seems to be working well
表示
返信
いいね!の合計