In my website I am not using cookies. When the user logs in, I validate the user credentials by getting password from database and if user credentials are validated I store the Email ID and other user related information into a session. I use the session values in other pages to validate the user for that page.
WebConfig:
<sessionState cookieless="true" />
<authentication mode="Forms">
<forms name=".YAFNET_Authentication" loginUrl="Home.aspx"
protection="All" timeout="43200" cookieless="UseUri"/>
</authentication>
If I select UseUri for cookiless then the url is
(S(2zlu5ry2ewsqfuzkfcmy1xl5))/Home.aspx
What is attached to my url, Is it secure to expose this value, I want to use cookie-less session because most of the iPhones browsing the site have cookies disabled.
I have an SSL certificate for my website. I am worried if displaying the above value in url will compromise the security?
by default session id values are stored in cookies. If you mention cookieless mode,session id will be appended to the URL.
FROM MSDN
http://msdn.microsoft.com/en-us/library/ms178581.aspx