Re: SessionID Changes in production machine....help



re:
> is there some thing else that could cause
> the sessionid to keep changing with each submit?

There is nothing that could cause that, except the cookieless setting.

1. Make sure your web.config syntax is correct.

2. Check your browser settings again.

Are you using InProc Session State ?



Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Reza Solouki" <RezaSolouki@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:35C9FFAF-9C1D-4CFB-BC94-0440BC364872@xxxxxxxxxxxxxxxx
> My browser is configured to accept cookies, so really I shouldn't have to
> change the setting of cookieless from default value of false to true!
>
> So the question is, is there some thing else that could cause the sessionid
> to keep changing with each sumbit?

> "Juan T. Llibre" wrote:
>
>> Is your browser configured to accept cookies ?
>>
>> If it isn't, ASP.NET will interpret each access
>> as coming from a new browser.
>>
>> cookieless="true" enables ASP.NET to maintain state
>> even if the browser isn't configured to accept cookies.
>>
>> cookieless="false" works only if the browser accepts cookies.
>>
>> Everything is working as it should. It's your call to make.
>> Your choice.
>>
>>
>>
>> Juan T. Llibre
>> ASP.NET MVP
>> http://asp.net.do/foros/
>> Foros de ASP.NET en Español
>> Ven, y hablemos de ASP.NET...
>> ======================
>>
>> "Reza Solouki" <RezaSolouki@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
>> news:82412BFF-97C9-4F4A-B0F1-44D50397B2C1@xxxxxxxxxxxxxxxx
>> > Help,
>> >
>> > I posted another thread here asking help because I was losing my session
>> > information(got no response). After a lot of searching on different sites I
>> > discovered that my sessionID changes everytime I submit.
>> > It doesn't happend with running it inside the visual studio, just when
>> > running it as a site directly with IE.
>> > Anyways, I found out if I set
>> > cookieless="true"
>> > it solves the problem. However I am not happy with this solution even though
>> > I don't use cookies, but I have another project
>> > with cookieless="false" that works just fine.
>> >
>> > So I like to hear some suggestions/insight on this from those experts out
>> > there to at least understand why or find a solution.
>> >
>> > thanks in advance,
>> > Reza


.



Relevant Pages

  • Re: hiding session ID in browser
    ... Store your data somehow indexed by this ID, ... properly with cookies enabled. ... > Problem why I don't want SessionID in browser is because when you add ... > web-site to favorites it stores SessionID too. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: SessionID Changes in production machine....help
    ... My browser is configured to accept cookies, so really I shouldn't have to ... is there some thing else that could cause the sessionid ... >> I posted another thread here asking help because I was losing my session ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: SessionID Still not working
    ... Now your sessionID will be part of the url. ... "Brad Simon" wrote in message ... > The domain the bad cart is on is set to allow cookies, also, and it still ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: SessionID Still not working
    ... tight security, ... level and see to make sure it accept the cookies. ... >I have written a shopping cart using ASP .NET. ... I use the SessionID ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Querystring - cookieless = true
    ... ich habe leider bemerkt, dass einige User Ihre Sicherheitseinstellungen so hoch haben, dass keine Cookies erlaubt sind. ... Der Hinweis unten im Browser wird häufig übersehen. ... SessionID als QuerystringParamneter ...
    (microsoft.public.de.german.entwickler.dotnet.asp)

Quantcast