Last post Jun 21, 2017 07:41 AM by EvenMa
Jun 20, 2017 07:54 AM|sspind|LINK
I found no other chance to post my question here. Ive an old classical asp-page with works with session.sessionid.
This works well so far but not on safari because safari seems to have restritions. I found out that the problem could be solved by maye save the sessions on the server and not locally and I tried to configure web.config as following:
<?xml version="1.0" encoding="UTF-8"?>
<add value="index.aspx" />
<add value="index.asp" />
<add value="index.htm" />
<add value="index.html" />
<add value="home.aspx" />
<add value="home.asp" />
<add value="home.htm" />
<add value="home.html" />
<add value="default.aspx" />
<add value="default.asp" />
<add value="default.htm" />
<add value="default.html" />
By doing this I get a 500.19 error code.
So my question is what Im doing wrong and if that maybe the right solution anyway to solve my problem.
Thanks in advance,
Jun 20, 2017 08:15 AM|PatriceSc|LINK
sessionState is rather Inside system.web:
https://msdn.microsoft.com/en-us/library/h6bb9cz9(vs.71).aspx and anyway this is already the default.
Anyway it applies to ASP.NET. If this is really "classic ASP", it just won't have any effect. I'm not sure which kind of restriction you are talking about. It should use a temporary cookie to maintain the browser session.
Have you tried to check Safari cookie settings. It would be entirely disabled by default?
Edit: if I remember I just created once my own Session class to use a database as an underlying storage. It still won't solve the issue if cookies are not enabled on the Safari side.
Jun 20, 2017 09:20 AM|sspind|LINK
Jun 21, 2017 07:41 AM|EvenMa|LINK
If you had been solved this issue, you could "Mark as answer" for others to find the correct answer quickly.
If you have any other questions, please feel free to contact me any time.