0

Please help on our issue on the user session. After log-in and select a menu, it will fall on the different user session.

The normal URL should be like this: http://www.company.com/mams/Sales/AccountForecasting.aspx

But it goes to this URL: http://www.company.com/mams/(X(1)S(hm4occ2bbcefegbj1gws4kwf))/Sales/AccountForecasting.aspx

Notice that there is a script inside the URL and im not sure where it came from.

After i recycle the application pool and restart the website, it will back to normal but this problem will occur again after 1 or 2 days after restart.

Any help will be greatly appreciated.... thanks

4

1 に答える 1

0

それは私にはクッキーのないセッションのように見えます。ほとんどの場合、古いバージョンの .net を実行していて、ブラウザー ファイルが新しいブラウザーを認識しないため、デフォルトで Cookie を使用しないようになっています。

修正するオプションの 1 つは、常に Cookie を使用するようにセッションを設定することです。(設定セッション リンクからの cookieless="UseCookies")。

もう 1 つのオプションは、ブラウザー ファイルを使用して、問題のあるブラウザーの既定の機能を変更することです。どのブラウザが問題を引き起こしているかについての知識が必要です。または、すべてのダウンレベル ブラウザをデフォルトでサポートする Cookie に設定することもできます。( http://www.hanselman.com/blog/FormsAuthenticationOnASPNETSitesWithTheGoogleChromeBrowserOnIOS.aspxを参照)

Cookie を使用しないセッション http://msdn.microsoft.com/en-us/library/aa479314.aspx

セッションの構成について http://msdn.microsoft.com/en-us/library/h6bb9cz9.aspx

于 2012-07-10T03:16:20.570 に答える