Monday, March 26, 2012

Strange Error

Hi all,

I've built the login mechanism and associated session states for a
website. it runs absolutely perfectly through localhost on the inbuilt
server, but once I upload it to my providers site, I get a series of
very strange errors which totally break the site.
When a user logs in, I set some variables in a session object to do
with the users role etc. Also, based on these variables the menu is
rebuilt in masterpage on each onload. On my providers site, it almost
seems as if the session is lost when clicking on different menu items.
I have some debug iformation output via Response.Write and this
reflects it is not picking up the session information.
Could this be a caching issue? If there were problems with my code, is
it possible the site would work correctly on the inbuilt server but
break on a live server? Or are the problems on my providers side?On 25 Feb, 13:36, "^MisterJingo^" <misterji...@.gmail.comwrote:

Quote:

Originally Posted by

Hi all,
>
I've built the login mechanism and associated session states for a
website. it runs absolutely perfectly through localhost on the inbuilt
server, but once I upload it to my providers site, I get a series of
very strange errors which totally break the site.
When a user logs in, I set some variables in a session object to do
with the users role etc. Also, based on these variables the menu is
rebuilt in masterpage on each onload. On my providers site, it almost
seems as if the session is lost when clicking on different menu items.
I have some debug iformation output via Response.Write and this
reflects it is not picking up the session information.
Could this be a caching issue? If there were problems with my code, is
it possible the site would work correctly on the inbuilt server but
break on a live server? Or are the problems on my providers side?


Not really sure about this, but a couple of things to check if you
haven't already.

What kind of session state are you using and does your provider
support it?
Are cookies enabled in your browser?

Jared

0 comments:

Post a Comment