Thanks for your further followup.
Hope you'll soon got it resolved.
Regards,
Steven Cheng
Microsoft Online Support
Get Secure!
www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| From: "Adrian Parker" <
[email protected]>
| References: <
[email protected]>
<
[email protected]>
<
[email protected]>
<P2CGcv#
[email protected]>
<#
[email protected]>
<
[email protected]>
| Subject: Re: Losing session values
| Date: Mon, 28 Nov 2005 17:34:49 -0000
| Lines: 259
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
| X-RFC2646: Format=Flowed; Original
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
| Message-ID: <#
[email protected]>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: 82-37-128-226.cable.ubr01.telf.blueyonder.co.uk
82.37.128.226
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:361295
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| Steven,
|
| Just finally figured out what they've done.
|
| They installed net 2.0 framework on the server and set the application to
| use that with a "it's a new version, so it should work" kind of
attitude...
| Of course, they didn't tell me they'd done that.
|
| I''ve told 'em to set it to v1.1 and am awaiting (dreading) their reply.
|
| Thanks
|
| | > Thanks for your response Adrian,
| >
| > Glad that you've got progress on this. So the cause is still the
browser's
| > cookie setting. Can you find some machine which can correctly consume
| > your
| > web application? Also , on those problem machine, is your site added
into
| > restricted/untrust sites?
| >
| > Thanks,
| >
| > Steven Cheng
| > Microsoft Online Support
| >
| > Get Secure!
www.microsoft.com/security
| > (This posting is provided "AS IS", with no warranties, and confers no
| > rights.)
| >
| >
| > --------------------
| > | From: "Adrian Parker" <
[email protected]>
| > | References: <
[email protected]>
| > <
[email protected]>
| > <
[email protected]>
| > <P2CGcv#
[email protected]>
| > | Subject: Re: Losing session values
| > | Date: Fri, 25 Nov 2005 08:49:28 -0000
| > | Lines: 182
| > | X-Priority: 3
| > | X-MSMail-Priority: Normal
| > | X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
| > | X-RFC2646: Format=Flowed; Original
| > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
| > | Message-ID: <#
[email protected]>
| > | Newsgroups: microsoft.public.dotnet.framework.aspnet
| > | NNTP-Posting-Host: 82-37-128-226.cable.ubr01.telf.blueyonder.co.uk
| > 82.37.128.226
| > | Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftngp13.phx.gbl
| > | Xref: TK2MSFTNGXA02.phx.gbl
| > microsoft.public.dotnet.framework.aspnet:360858
| > | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| > |
| > | Steven,
| > |
| > | We've finally found out what's happening, but not why. The problem
is
| > that
| > | the session cookie is not being stored on the client machines
| > | (which are all using IE6).
| > |
| > | They have even gone into tools->options->privacy->advanced and set it
to
| > | "always allow session cookies" but it still doesn't store them.
| > |
| > | Any ideas ?
| > |
| > | Thanks
| > | Adrian Parker
| > |
| > | | > | > Thanks for your response Adrian,
| > | >
| > | > So the problem application is on a remote product server rather than
| > your
| > | > local dev machine? That'll make the test more difficult. Anyway,
| > please
| > | > feel free to post here when you got any new finding.
| > | >
| > | > Regards,
| > | >
| > | > Steven Cheng
| > | > Microsoft Online Support
| > | >
| > | > Get Secure!
www.microsoft.com/security
| > | > (This posting is provided "AS IS", with no warranties, and confers
no
| > | > rights.)
| > | > --------------------
| > | > | From: "Adrian Parker" <
[email protected]>
| > | > | References: <
[email protected]>
| > | > <
[email protected]>
| > | > | Subject: Re: Losing session values
| > | > | Date: Thu, 17 Nov 2005 15:40:14 -0000
| > | > | Lines: 114
| > | > | X-Priority: 3
| > | > | X-MSMail-Priority: Normal
| > | > | X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
| > | > | X-RFC2646: Format=Flowed; Original
| > | > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
| > | > | Message-ID: <
[email protected]>
| > | > | Newsgroups: microsoft.public.dotnet.framework.aspnet
| > | > | NNTP-Posting-Host: 82-37-128-226.cable.ubr01.telf.blueyonder.co.uk
| > | > 82.37.128.226
| > | > | Path:
| > TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.phx.gbl
| > | > | Xref: TK2MSFTNGXA02.phx.gbl
| > | > microsoft.public.dotnet.framework.aspnet:358932
| > | > | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| > | > |
| > | > |
| > | > | mode="InProc"
| > | > | stateConnectionString="tcpip=127.0.0.1:42424"
| > | > | sqlConnectionString="data source=127.0.0.1;user id=sa;password="
| > | > | cookieless="false"
| > | > | timeout="20"
| > | > |
| > | > | I will create a test website for them to try turning tracing on.
| > | > (they're
| > | > | in AU so it will be awhile until they reply)
| > | > |
| > | > |
message
| > | > | | > | > | > Hi Adrian,
| > | > | >
| > | > | > Welcome to ASPNET newsgroup.
| > | > | > From your description, in one of your ASP.NET 1.1 web
application,
| > you
| > | > | > found that the sessionstate data stored will lose after post
back
| > or
| > | > | > redirect to new page, yes?
| > | > | >
| > | > | > As for the SessionState, we have several Modes, are you using
| > InProc
| > | > | > session or other out Proc session, would you provide the
| > | > sessionState's
| > | > | > configure element? Also, to make sure that we're storing and
| > | > retrieving
| > | > | > value from the same Session, I suggest you turn on the Page's
| > Ouput
| > | > Trace
| > | > | > through @page Directive like:
| > | > | >
| > | > | > <%@ Page Trace="True"....%>
| > | > | >
| > | > | > Then, the page will render the Cookie collection in the output.
| > Also,
| > | > the
| > | > | > SessionId should be one of the cookie items. You can trace this
Id
| > to
| > | > see
| > | > | > whether remains the same between post back or page redirection.
| > | > Generally
| > | > | > for ASP.NET it'll use a random sessionid for each request if
there
| > is
| > | > no
| > | > | > sessionState data in use, however, after the certain client user
| > first
| > | > | > time
| > | > | > store some data into SessionState, the id should be fixed and
| > unique
| > | > until
| > | > | > it timeout....
| > | > | >
| > | > | > Thanks,
| > | > | >
| > | > | > Steven Cheng
| > | > | > Microsoft Online Support
| > | > | >
| > | > | > Get Secure!
www.microsoft.com/security
| > | > | > (This posting is provided "AS IS", with no warranties, and
confers
| > no
| > | > | > rights.)
| > | > | >
| > | > | >
| > | > | >
| > | > | >
| > | > | >
| > | > | >
| > | > | > --------------------
| > | > | > | From: "Adrian Parker" <
[email protected]>
| > | > | > | Subject: Losing session values
| > | > | > | Date: Thu, 17 Nov 2005 07:09:37 -0000
| > | > | > | Lines: 37
| > | > | > | X-Priority: 3
| > | > | > | X-MSMail-Priority: Normal
| > | > | > | X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
| > | > | > | X-RFC2646: Format=Flowed; Original
| > | > | > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
| > | > | > | Message-ID: <
[email protected]>
| > | > | > | Newsgroups: microsoft.public.dotnet.framework.aspnet
| > | > | > | NNTP-Posting-Host:
| > 82-37-128-226.cable.ubr01.telf.blueyonder.co.uk
| > | > | > 82.37.128.226
| > | > | > | Path:
| > | > TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12.phx.gbl
| > | > | > | Xref: TK2MSFTNGXA02.phx.gbl
| > | > | > microsoft.public.dotnet.framework.aspnet:358824
| > | > | > | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| > | > | > |
| > | > | > | We have a website that works everywhere but on a few PCs on
this
| > one
| > | > | > site..
| > | > | > |
| > | > | > | Asp.Net 1.1
| > | > | > | Server = Windows 2003
| > | > | > | Client = XP
| > | > | > | In the web.config we use - cookieless="false"
| > | > | > | in the browser settings they have "Always allow session
cookies"
| > set
| > | > to
| > | > | > true
| > | > | > |
| > | > | > | When the browser connects to the website the first page sets a
| > | > session
| > | > | > | variable called "user_ref" to something and then calls another
| > page.
| > | > If
| > | > | > on
| > | > | > | that new page we do the following piece of code:-
| > | > | > |
| > | > | > | Dim strRep As String = ""
| > | > | > | If Session.IsNewSession = True Then
| > | > | > | strRep = "Session is new."
| > | > | > | Else
| > | > | > | strRep = "Session is not new."
| > | > | > | End If
| > | > | > | If Session("user_ref") Is Nothing Then
| > | > | > | strRep += "Cookie is lost."
| > | > | > | Else
| > | > | > | strRep += "Cookie is active."
| > | > | > | End If
| > | > | > | TextBox1.Text = strRep
| > | > | > |
| > | > | > | We get
| > | > | > |
| > | > | > | Session is new.Cookie is lost.
| > | > | > |
| > | > | > | What could be causing this ?
| > | > | > |
| > | > | > | Thanks
| > | > | > | Adrian Parker
| > | > | > |
| > | > | > |
| > | > | > |
| > | > | > |
| > | > | > |
| > | > | >
| > | > |
| > | > |
| > | > |
| > | >
| > |
| > |
| > |
| >
|
|
|