I currently have a hosted application that needs to have a sub applications (in an iframe) authenticate. I am currently using cookies, and have a small redirect page doing the following in a code behind.
FormsAuthentication.SetAuthCookie("Test User", false);
This sets things up later for access to the application. Due to recent Safari changes, I am trying to get away from Cookies. I've come across the web.config setting for cookieless="UseUri". The hope would be that instead of setting an auth cookie, I return back passing the session (A(XXXX)S(XXXX)F(XXXX)) in the url which I will then capture and append to any followup URL requests to the sub application, but can't figure out how to generate that session id.