how i can hide session id from url
i am using a link
when link is open url shows userid (session data)
now i want that it will not show session id in url
i will set cokkieless=true but still it show session id in url
In continuation to above answer,
If you have set cookieless to false in your web.config file and it is still showing the sessionid in url, it means the browser has cookies disabled. Check the browser setting and enable the browser to accept cookies.
There is no way to hide the sessionid if cookies are disabled for a browser.
Hope this clears your doubt.
if cookieless set to true, that tells asp.net that it cant
save cookies on any of the user's pc, and so it stores the session id in the
if you set it to false, the session id will be removed from the url and
placed inside a cookie on the users pc.
so set cookieless set to false , to hide session id from url
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)