Asp.net cookieless sessionId URL

I work on a mobile site where we cannot rely on the phone number that came to the site to have cookie support. I am using the cookieless parameter for sessions and wondering if there is a way to indicate where in the URL that sessionId is placed?

Here's what it looks like now:

http://www.somesite.com/(S(qnxbzt45h2yxpr45tj3hpr45))/Default.aspx

Is there a way to have sessionId at the end of the url?

http://www.somesite.com/Default.aspx?S=qnxbzt45h2yxpr45tj3hpr45
+3
source share
2 answers

Can't you save user sessions using the Sql database? I do not think that you can change the position of sessionId, you can try to rewrite the URL, but I'm not sure how this will affect .Net processing.

EDIT: , Sql - ,

+1
0

Source: https://habr.com/ru/post/1703971/


All Articles