473,396 Members | 1,773 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Cooliless State - Image unavilabe

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
won't load properly. I have my state configuration like
this in my web.config:

<sessionState
mode="InProc"
stateConnectionString="tcpip=127.0.0.1:42424"
sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes"
cookieless="true"
timeout="90"
/>

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, some of the
client browsers disables the cookies, so other problems are cause because of
this.

Does anyone know whats going on?

Thanks in advance.

Regards,
Karthikeyan
Nov 19 '05 #1
7 1402
Are you sure you have deployed image files to the production server? Check
if they are there.

What is the connection between image loading and session state setting?

Eliyahu

"karthikeyan" <ka*********@discussions.microsoft.com> wrote in message
news:5C**********************************@microsof t.com...
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
won't load properly. I have my state configuration like
this in my web.config:

<sessionState
mode="InProc"
stateConnectionString="tcpip=127.0.0.1:42424"
sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes" cookieless="true"
timeout="90"
/>

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, some of the
client browsers disables the cookies, so other problems are cause because of this.

Does anyone know whats going on?

Thanks in advance.

Regards,
Karthikeyan

Nov 19 '05 #2
What browser & version you are using ?
Lalit

"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
news:eb**************@tk2msftngp13.phx.gbl...
Are you sure you have deployed image files to the production server? Check
if they are there.

What is the connection between image loading and session state setting?

Eliyahu

"karthikeyan" <ka*********@discussions.microsoft.com> wrote in message
news:5C**********************************@microsof t.com...
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
won't load properly. I have my state configuration like
this in my web.config:

<sessionState
mode="InProc"
stateConnectionString="tcpip=127.0.0.1:42424"
sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes"
cookieless="true"
timeout="90"
/>

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, some of the client browsers disables the cookies, so other problems are cause

because of
this.

Does anyone know whats going on?

Thanks in advance.

Regards,
Karthikeyan


Nov 19 '05 #3
Hi,

To answer your questions, we have all the required images in the production
server under Images path. Also we are using IE6.0 version.

Basically we are able to see the images without any problem when we set the
cookieless value as false. If we set this cookieless value as true then the
images are not showing properly, because the session id is getting updated in
the URL. So while we use relative path like "images/plus_sign.gif" then it
is not able to find the images path properly.

Since we are using more number of images it is not possible for us to change
all the image paths with full path.

So please help us how to overcome this problem.

Note: We are having the login authentication pages in different domain
server and other pages are available in different domain server.

This is kind of very very urgent. So please help us as earlier.

Thanks in advance...

Thanks,
Rajagopal.S

"Lalit Singh" wrote:
What browser & version you are using ?
Lalit

"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
news:eb**************@tk2msftngp13.phx.gbl...
Are you sure you have deployed image files to the production server? Check
if they are there.

What is the connection between image loading and session state setting?

Eliyahu

"karthikeyan" <ka*********@discussions.microsoft.com> wrote in message
news:5C**********************************@microsof t.com...
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
won't load properly. I have my state configuration like
this in my web.config:

<sessionState
mode="InProc"
stateConnectionString="tcpip=127.0.0.1:42424"
sqlConnectionString="data

source=127.0.0.1;Trusted_Connection=yes"
cookieless="true"
timeout="90"
/>

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, some of the client browsers disables the cookies, so other problems are cause

because
of
this.

Does anyone know whats going on?

Thanks in advance.

Regards,
Karthikeyan



Nov 19 '05 #4
I had the same problem in some pcs.
Solution is In the IE menu select Internet Options, Settings, Chek the
option button called "Every visit to the page"
so that browser will always get the latest gif files.
Let me now if it helps.
Lalit
"Rajagopal" <Ra*******@discussions.microsoft.com> wrote in message
news:A3**********************************@microsof t.com...
Hi,

To answer your questions, we have all the required images in the production server under Images path. Also we are using IE6.0 version.

Basically we are able to see the images without any problem when we set the cookieless value as false. If we set this cookieless value as true then the images are not showing properly, because the session id is getting updated in the URL. So while we use relative path like "images/plus_sign.gif" then it is not able to find the images path properly.

Since we are using more number of images it is not possible for us to change all the image paths with full path.

So please help us how to overcome this problem.

Note: We are having the login authentication pages in different domain
server and other pages are available in different domain server.

This is kind of very very urgent. So please help us as earlier.

Thanks in advance...

Thanks,
Rajagopal.S

"Lalit Singh" wrote:
What browser & version you are using ?
Lalit

"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
news:eb**************@tk2msftngp13.phx.gbl...
Are you sure you have deployed image files to the production server? Check if they are there.

What is the connection between image loading and session state setting?
Eliyahu

"karthikeyan" <ka*********@discussions.microsoft.com> wrote in message
news:5C**********************************@microsof t.com...
> 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
> won't load properly. I have my state configuration like
> this in my web.config:
>
> <sessionState
> mode="InProc"
> stateConnectionString="tcpip=127.0.0.1:42424"
> sqlConnectionString="data
source=127.0.0.1;Trusted_Connection=yes"
> cookieless="true"
> timeout="90"
> />
>
> 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, some
of the
> client browsers disables the cookies, so other problems are cause

because
of
> this.
>
> Does anyone know whats going on?
>
> Thanks in advance.
>
> Regards,
> Karthikeyan


Nov 19 '05 #5
Hi Lalit,

Thanks for your reply. But it doesnt work. Because this is not happening
only for some of the systems. It happens for all the systems. Basically
when i set the cookieless value in config file as "true", the session id is
getting updated with the URL. So when we give the relative path for images,
the URL for the image includes the session id also as below,

http://servername/websitename/sessionid/images/img.jpg

Since the URL has session id also it is not able to find the image in the
above specified path. due to this reason we are facing this problem. So i
am not sure we can overcome this problem by changing any IE settings.

Please help me if you have any more thoughts in this regard.

Thanks,
Rajagopal.S

"Lalit Singh" wrote:
I had the same problem in some pcs.
Solution is In the IE menu select Internet Options, Settings, Chek the
option button called "Every visit to the page"
so that browser will always get the latest gif files.
Let me now if it helps.
Lalit
"Rajagopal" <Ra*******@discussions.microsoft.com> wrote in message
news:A3**********************************@microsof t.com...
Hi,

To answer your questions, we have all the required images in the

production
server under Images path. Also we are using IE6.0 version.

Basically we are able to see the images without any problem when we set

the
cookieless value as false. If we set this cookieless value as true then

the
images are not showing properly, because the session id is getting updated

in
the URL. So while we use relative path like "images/plus_sign.gif" then

it
is not able to find the images path properly.

Since we are using more number of images it is not possible for us to

change
all the image paths with full path.

So please help us how to overcome this problem.

Note: We are having the login authentication pages in different domain
server and other pages are available in different domain server.

This is kind of very very urgent. So please help us as earlier.

Thanks in advance...

Thanks,
Rajagopal.S

"Lalit Singh" wrote:
What browser & version you are using ?
Lalit

"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
news:eb**************@tk2msftngp13.phx.gbl...
> Are you sure you have deployed image files to the production server? Check > if they are there.
>
> What is the connection between image loading and session state setting? >
> Eliyahu
>
> "karthikeyan" <ka*********@discussions.microsoft.com> wrote in message
> news:5C**********************************@microsof t.com...
> > 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
> > won't load properly. I have my state configuration like
> > this in my web.config:
> >
> > <sessionState
> > mode="InProc"
> > stateConnectionString="tcpip=127.0.0.1:42424"
> > sqlConnectionString="data
> source=127.0.0.1;Trusted_Connection=yes"
> > cookieless="true"
> > timeout="90"
> > />
> >
> > 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, some of the
> > client browsers disables the cookies, so other problems are cause
because
> of
> > this.
> >
> > Does anyone know whats going on?
> >
> > Thanks in advance.
> >
> > Regards,
> > Karthikeyan
>
>


Nov 19 '05 #6
Rajagopal,
R U using ImageButton?
Did you try by setting the property to ImageUrl = Images\MyImage.gif?
For me it is working. In the ViewSource what is the path it is showing for
image?
Jonathan

"Rajagopal" <Ra*******@discussions.microsoft.com> wrote in message
news:6B**********************************@microsof t.com...
Hi Lalit,

Thanks for your reply. But it doesnt work. Because this is not happening
only for some of the systems. It happens for all the systems. Basically
when i set the cookieless value in config file as "true", the session id is getting updated with the URL. So when we give the relative path for images, the URL for the image includes the session id also as below,

http://servername/websitename/sessionid/images/img.jpg

Since the URL has session id also it is not able to find the image in the
above specified path. due to this reason we are facing this problem. So i am not sure we can overcome this problem by changing any IE settings.

Please help me if you have any more thoughts in this regard.

Thanks,
Rajagopal.S

"Lalit Singh" wrote:
I had the same problem in some pcs.
Solution is In the IE menu select Internet Options, Settings, Chek the
option button called "Every visit to the page"
so that browser will always get the latest gif files.
Let me now if it helps.
Lalit
"Rajagopal" <Ra*******@discussions.microsoft.com> wrote in message
news:A3**********************************@microsof t.com...
Hi,

To answer your questions, we have all the required images in the

production
server under Images path. Also we are using IE6.0 version.

Basically we are able to see the images without any problem when we set
the
cookieless value as false. If we set this cookieless value as true
then the
images are not showing properly, because the session id is getting
updated in
the URL. So while we use relative path like "images/plus_sign.gif"
then it
is not able to find the images path properly.

Since we are using more number of images it is not possible for us to

change
all the image paths with full path.

So please help us how to overcome this problem.

Note: We are having the login authentication pages in different domain
server and other pages are available in different domain server.

This is kind of very very urgent. So please help us as earlier.

Thanks in advance...

Thanks,
Rajagopal.S

"Lalit Singh" wrote:

> What browser & version you are using ?
> Lalit
>
> "Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
> news:eb**************@tk2msftngp13.phx.gbl...
> > Are you sure you have deployed image files to the production
server? Check
> > if they are there.
> >
> > What is the connection between image loading and session state

setting?
> >
> > Eliyahu
> >
> > "karthikeyan" <ka*********@discussions.microsoft.com> wrote in
message > > news:5C**********************************@microsof t.com...
> > > 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 > > > won't load properly. I have my state configuration like
> > > this in my web.config:
> > >
> > > <sessionState
> > > mode="InProc"
> > > stateConnectionString="tcpip=127.0.0.1:42424"
> > > sqlConnectionString="data
> > source=127.0.0.1;Trusted_Connection=yes"
> > > cookieless="true"
> > > timeout="90"
> > > />
> > >
> > > 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, some of
> the
> > > client browsers disables the cookies, so other problems are

cause > because
> > of
> > > this.
> > >
> > > Does anyone know whats going on?
> > >
> > > Thanks in advance.
> > >
> > > Regards,
> > > Karthikeyan
> >
> >
>
>
>


Nov 19 '05 #7
Hi Jonatha,

Thanks for your response.

Actually i am not using image button, am using as below,

<img src="images/ta_branch_off2.gif" alt="Search By Branch" id="imgbranch"
width="120" height="34" border="0">

Also when i right click on the image and check the url then it showing as
like below,

http://servername/websitename/sessionid/images/img.jpg

if i paste the same URL in separate IE then it shows me page cannot be
displayed. If i remove the session id from the URL and run it then i am able
to see the image without any problem.

Thanks,
Rajagopal.S

"Jonathan Smith" wrote:
Rajagopal,
R U using ImageButton?
Did you try by setting the property to ImageUrl = Images\MyImage.gif?
For me it is working. In the ViewSource what is the path it is showing for
image?
Jonathan

"Rajagopal" <Ra*******@discussions.microsoft.com> wrote in message
news:6B**********************************@microsof t.com...
Hi Lalit,

Thanks for your reply. But it doesnt work. Because this is not happening
only for some of the systems. It happens for all the systems. Basically
when i set the cookieless value in config file as "true", the session id

is
getting updated with the URL. So when we give the relative path for

images,
the URL for the image includes the session id also as below,

http://servername/websitename/sessionid/images/img.jpg

Since the URL has session id also it is not able to find the image in the
above specified path. due to this reason we are facing this problem. So

i
am not sure we can overcome this problem by changing any IE settings.

Please help me if you have any more thoughts in this regard.

Thanks,
Rajagopal.S

"Lalit Singh" wrote:
I had the same problem in some pcs.
Solution is In the IE menu select Internet Options, Settings, Chek the
option button called "Every visit to the page"
so that browser will always get the latest gif files.
Let me now if it helps.
Lalit
"Rajagopal" <Ra*******@discussions.microsoft.com> wrote in message
news:A3**********************************@microsof t.com...
> Hi,
>
> To answer your questions, we have all the required images in the
production
> server under Images path. Also we are using IE6.0 version.
>
> Basically we are able to see the images without any problem when we set the
> cookieless value as false. If we set this cookieless value as true then the
> images are not showing properly, because the session id is getting updated in
> the URL. So while we use relative path like "images/plus_sign.gif" then it
> is not able to find the images path properly.
>
> Since we are using more number of images it is not possible for us to
change
> all the image paths with full path.
>
> So please help us how to overcome this problem.
>
> Note: We are having the login authentication pages in different domain
> server and other pages are available in different domain server.
>
> This is kind of very very urgent. So please help us as earlier.
>
> Thanks in advance...
>
> Thanks,
> Rajagopal.S
>
> "Lalit Singh" wrote:
>
> > What browser & version you are using ?
> > Lalit
> >
> > "Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
> > news:eb**************@tk2msftngp13.phx.gbl...
> > > Are you sure you have deployed image files to the production server? Check
> > > if they are there.
> > >
> > > What is the connection between image loading and session state
setting?
> > >
> > > Eliyahu
> > >
> > > "karthikeyan" <ka*********@discussions.microsoft.com> wrote in message > > > news:5C**********************************@microsof t.com...
> > > > 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 > > > > won't load properly. I have my state configuration like
> > > > this in my web.config:
> > > >
> > > > <sessionState
> > > > mode="InProc"
> > > > stateConnectionString="tcpip=127.0.0.1:42424"
> > > > sqlConnectionString="data
> > > source=127.0.0.1;Trusted_Connection=yes"
> > > > cookieless="true"
> > > > timeout="90"
> > > > />
> > > >
> > > > 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, some of
> > the
> > > > client browsers disables the cookies, so other problems are cause > > because
> > > of
> > > > this.
> > > >
> > > > Does anyone know whats going on?
> > > >
> > > > Thanks in advance.
> > > >
> > > > Regards,
> > > > Karthikeyan
> > >
> > >
> >
> >
> >


Nov 19 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Elisa | last post by:
I have two images, each with defined CSS hover states. I would like a mouseover on one image to trigger the hover state of the other image. Is this possible using javascript? If so, how? Any...
3
by: gb | last post by:
We are in the process of upgrading part of a large system to .NET, whilst the majority will remain ASP. Sharing session state information will not be a problem at the moment as it is trivial and...
2
by: Mango | last post by:
Hi there, I will be very happy if someone helps me. I need to create dynamic image, and save the state between the postback. I mean I've got 5 buttons and when I click on one of them, the image is...
3
by: den 2005 | last post by:
Hi everyone, Here is code working on..Trying to insert record with a column with Image or VarBinary datatype in sql database from a existing jpeg image file, then retrieve this image from...
3
by: seamlyne | last post by:
The first method I ever used for multiple state buttons was to create a graphic for each button for each state: AboutUs_on, AbooutUs_over, AboutUs_out, etc. That works great when there are just a...
2
by: Tarik Monem | last post by:
OK! I've gone through a few tutorials and I cannot understand what I'm doing wrong casting_registration.php <table> <tr> <td> <form enctype="multipart/form-data" action="thankyou.php"...
3
by: Eminosoft | last post by:
The below code can't take the images.plz tell that what is the problem in that code <?php // Connect to database $errmsg = ""; if (! @mysql_connect("localhost","root","sreeni")) { ...
1
by: sravani1 | last post by:
This code runs like when i submit the form it takes the image and displayed and top of the image a map will displayed. But actually i want that when i give the image it checks the location in the map...
1
by: keksy | last post by:
Hi every1, I am writing a small client/server application and in it I want to send an image asynchronous from the client to the server through a TCP socket. I found an example code on the MSDN...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.