Click here to Skip to main content
15,906,816 members

Comments by Member 10752313 (Top 21 by date)

Member 10752313 19-Jun-17 2:50am View    
Ok, but my requirement is to find the Guid of current instance and add to it. I have searched for last entry of dictionary but it is telling that always the order in the dictionary maynot be same. So is my way is correct or any approach that can be used to implement this?
Member 10752313 16-Jun-17 3:46am View    
Ok.
I will make it clear.


I have created a unique id for each client request in server as
Guid clientId = Guid.NewGuid();
Cookie setCookie = new Cookie("ASPSESSIONID", clientId.ToString());
HttpListenercontext.Response.AppendCookie(setCookie);


If a client set Session["Name"]=Roy; How can I access the name Roy in my server using HttpListenerContext?
Member 10752313 16-Jun-17 3:24am View    
Actually I am developing a server, my question is how Session["Name"] set in web form is accessed in my server to create unique id, ie how the name-value pair created in web form is send to server?
Member 10752313 15-Jun-17 8:19am View    
@F-ES Sitecore Thankyou very much for the idea.
Member 10752313 15-Jun-17 7:53am View    
Ok my question is how I can generate the session id in my server code for the client request?