sessionstate sqlserver mode image path problem

P

Phl

Hi,

I am having some problems hosting my website. Everything works fine in
my local machine but when I upload to propduction server, my images
somethimes won't load properly. I have my state configuration like
this in my web.config:


<sessionState
mode="SQLServer"
stateConnectionString="tcpip=127.0.0.1:XXXXX"
sqlConnectionString="data source=XXXXX,2431;User
ID=XXXX;Password=XXXXX;Network=DBMSSOCN;"
cookieless="true"
timeout="20"
/>

My images are set like this in my code behind:

SelfAssignimg.ImageUrl = "images/plus_sign.gif";

In my production server, when I have cookieless set to false, the
problem with my images not loading from time to time goes away but
then my serialized class which I kept in my session variable doesn't
seemed to be accessible anymore, so other problems are cause because
of this.

Does anyone know whats going on?

Thx
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,982
Messages
2,570,185
Members
46,737
Latest member
Georgeengab

Latest Threads

Top