Click here to Skip to main content
15,887,596 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi My Brothers and Sisters in Coding

How can i create unique session between browser tabs without using this in my web config
<sessionState mode="InProc" timeout="10" cookieless="UseUri" ></sessionState>

Or
<sessionState mode="InProc" timeout="10" cookieless="true" ></sessionState>


Because these two exposes the session id in the url and i dont want that to be shown up.

thanks Guys
Posted

1 solution

In both cases the session id will be appended in the URL...with respect to "unique" session...please explain it a bit more...
 
Share this answer
 
Comments
Mico Perez 27-Mar-12 2:49am    
Hi
Thank you for commenting.

I don't want the session id to be appended in the url because it is vulnerable to security issues.

With regards to the unique session. I noticed that session is shared between the IE tabs or firefox tabs. I want a unique session for each tab.
senguptaamlan 27-Mar-12 2:53am    
If you use coockieless...its the default behavior of ASP.NET to append the sessionid in URL.. I think its not possible to override it....unless you create a custom HTTPSessionState module. Please, let me know if you have a better idea on that.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900