tags:

views:

304

answers:

1

Due to target audience I am using .net cookieless sessions in auto-detect mode and time to time I get visitors redirected with cookiless session url like

domain.com/(S(jdhdghdghd))/default.aspx

Problem is, if I call this url after session expired .net will re-create it. What I want to find out is a way to force .net to create another session id instead of using the one that came with url.

Is it possible?

A: 

I didn't test it, but there is an option in Web.config to disable regeneration of expired session.

<sessionState cookieless="UseUri" regenerateExpiredSessionId="false" />
chenz