When I access the site through a browser, it functions properly and the ASP sessionId stays constant.
View Login Sampler: (GET) Set-Cookie: ASP.NET_SessionId=croa4a55pmsdat2xw2gwl555; path=/; HttpOnly <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUJNDYwNjQzMzk2ZGQyy1rIHnDV4D050vhS+s6t4OSPQA==" /> <input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/wEWBAKUyZihCgKvruq2CALSxeCRDwK8w4S2BGOaHBcvtQs1+SQzLeN2DQqWcBcO" /> Do Login Sampler: (POST) POST data: UserName=admin&Password=pass&__EVENTVALIDATION=%2FwEWBAKUyZihCgKvruq2CALSxeCRDwK8w4S2BGOaHBcvtQs1%2BSQzLeN2DQqWcBcO&__VIEWSTATE=%2FwEPDwUJNDYwNjQzMzk2ZGQyy1rIHnDV4D050vhS%2Bs6t4OSPQA%3D%3D&Submit=Login Send Cookie: $Version=0; ASP.NET_SessionId=croa4a55pmsdat2xw2gwl555; $Path=/ Set-Cookie: ASP.NET_SessionId=3okphn55zcpbvf2wyugtsf55; path=/; HttpOnly Index Request Sampler: (GET) Send Cookie: $Version=0; ASP.NET_SessionId=3okphn55zcpbvf2wyugtsf55; $Path=/ The Index Request Sampler has a response code of 302, with a redirect back to the login page. It seems like an extra sessionId is being sent back when it doesn't need to be and I don't entirely understand why. Deepak Shetty wrote: > > Hi > You are getting a Set-Cookie as response from the server, which in the > specific case of login may be correct, what do you see when you access > your > app from the browser? > If there is no switching of session ids when you use your app in the > browser > then you probably need to check whether all the dynamic data like > __EVENTVALIDATION and __VIEWSTATE are being extracted correctly by you > from > the previous requests > > regards > deepak > > -- View this message in context: http://old.nabble.com/.Net-SessionId-changing-in-Cookie-tp26679091p26683008.html Sent from the JMeter - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

