|
Home > Archive > Microsoft Content Management Server > August 2005 > MCMS 2002 "Session state is not maintained between requests"
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
MCMS 2002 "Session state is not maintained between requests"
|
|
| Paul Berndsen 2005-08-22, 5:57 pm |
| Hi,
I have a CMS site with a multichannel layout. It looks something like this.
- home
- about
- this site
- news
- recent news
- articles
- papers
- breaking news
- archive
The stranged thing happens when browsing with IE to any posting within a
channel that lies deeper than the second level (articles and papers in my
example).
None of the posting in those channels have a Session. The Session is filled
with the language in which the user is viewing the site (Session["lang"] =
{NL, EN, DE})
I've found a link to a support file of Microsoft, but the link is dead
(http://www.kbalertz.com/kb_316112.aspx).
Is anyone familiar with this problem and knows how to solve it?
Thanks, and best regards
Paul Berndsen
| |
| Stefan [MSFT] 2005-08-22, 5:57 pm |
| Hi Paul,
you need to ensure that all templates and channel rendering scripts are
build based on the same template project.
The problem you have seen can happen if the postings in articles and papers
are based on templates in a different project as the postings in the other
channels.
Cheers,
Stefan
--
This posting is provided "AS IS" with no warranties, and confers no rights
New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
----------------------
"Paul Berndsen" <pjnberndsenREMOVE@hotmail.com> wrote in message
news:28E30C2B-857B-4F94-8CEB-5A498D0C2003@microsoft.com...
> Hi,
>
> I have a CMS site with a multichannel layout. It looks something like
> this.
> - home
> - about
> - this site
> - news
> - recent news
> - articles
> - papers
> - breaking news
> - archive
>
> The stranged thing happens when browsing with IE to any posting within a
> channel that lies deeper than the second level (articles and papers in my
> example).
> None of the posting in those channels have a Session. The Session is
> filled
> with the language in which the user is viewing the site (Session["lang"] =
> {NL, EN, DE})
>
> I've found a link to a support file of Microsoft, but the link is dead
> (http://www.kbalertz.com/kb_316112.aspx).
> Is anyone familiar with this problem and knows how to solve it?
>
> Thanks, and best regards
>
> Paul Berndsen
| |
| Paul Berndsen 2005-08-23, 7:53 am |
| Hi Stefan,
Thanks for your tip.
Want to know what happend??
The templates that resulted in errors when the Session was requested did not
contain
this.Load += new System.EventHandler(this.Page_Load);
in the InitializeComponent() method. My college replied, when I asked him
what this was: "We did nog use the page_load so I removed the reference"
AAARRRRGGGGHHH. Anyway, restoring the this.Load line made all my problems go
away.
Greetings Paul Berndsen
"Stefan [MSFT]" schreef:
> Hi Paul,
>
> you need to ensure that all templates and channel rendering scripts are
> build based on the same template project.
> The problem you have seen can happen if the postings in articles and papers
> are based on templates in a different project as the postings in the other
> channels.
>
> Cheers,
> Stefan
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights
>
> New to MCMS?
> Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
> ----------------------
>
>
> "Paul Berndsen" <pjnberndsenREMOVE@hotmail.com> wrote in message
> news:28E30C2B-857B-4F94-8CEB-5A498D0C2003@microsoft.com...
>
>
>
| |
| Stefan [MSFT] 2005-08-23, 7:53 am |
| Interesting.
Cheers,
Stefan
--
This posting is provided "AS IS" with no warranties, and confers no rights
New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
----------------------
"Paul Berndsen" <pjnberndsenREMOVE@hotmail.com> wrote in message
news:C2C644B6-7D70-4146-BFA8-BF5252F07EDC@microsoft.com...[vbcol=seagreen]
> Hi Stefan,
>
> Thanks for your tip.
> Want to know what happend??
> The templates that resulted in errors when the Session was requested did
> not
> contain
> this.Load += new System.EventHandler(this.Page_Load);
> in the InitializeComponent() method. My college replied, when I asked him
> what this was: "We did nog use the page_load so I removed the reference"
>
> AAARRRRGGGGHHH. Anyway, restoring the this.Load line made all my problems
> go
> away.
>
> Greetings Paul Berndsen
>
>
> "Stefan [MSFT]" schreef:
>
|
|
|
|
|