473,763 Members | 7,622 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

session expires quickly

Hi e'body,
I have an application developed in ASP.Net and have installed on iis
server. The problem i am encountering is when I try to access the
application through Internet explorer from one of the client, my
session expires as soon as i login to the application. This works fine
on another machine.

Do any one have idea about this

Thanks in advance

Rahul
Nov 17 '05 #1
2 1764
Rad
does it happen when accessing that server using its IP address instead of
name?
"Rahul Kansara" <ra**********@h otmail.com> wrote in message
news:69******** *************** ***@posting.goo gle.com...
Hi e'body,
I have an application developed in ASP.Net and have installed on iis
server. The problem i am encountering is when I try to access the
application through Internet explorer from one of the client, my
session expires as soon as i login to the application. This works fine
on another machine.

Do any one have idea about this

Thanks in advance

Rahul

Nov 17 '05 #2
Hi
Session state appearing to expire immediately will be
caused by the browser settings on the client machine.
asp.net maintains session state by passing a cookie to
the client. If the client won't accept this cookie from
the server then it will act as though the session state
has expired when you try to access the session object.
On the client machine check tools|options within internet
explorer, then look at the privacy tab which controls
accepting cookies - something here maybe blocking cookies
from your server.

regards,
alex

-----Original Message-----
Hi e'body,
I have an application developed in ASP.Net and have installed on iisserver. The problem i am encountering is when I try to access theapplication through Internet explorer from one of the client, mysession expires as soon as i login to the application. This works fineon another machine.

Do any one have idea about this

Thanks in advance

Rahul
.

Nov 17 '05 #3

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

Similar topics

12
18015
by: chrism | last post by:
Hello, I have a pop-up window that I would like to appear in front of the browser home page when a user opens IE. Problem is, I'd like it to never appear again if the user navigates back to the home page during their time using the browser. However, if the user closes the browser, then reopens, the pop-up should appear again. (you may have guessed that this will be used for public access pc's.) I want to try as best I can to catch...
1
3599
by: Jenn | last post by:
I have done alot of web work in all sorts of languages but I have never used the simple cookie. Question is How does one set and retrieve a simple session cookie. All it will do is have an image change on 1 page only with every new visitor, there are 5 images it should be random and stay the same unless the session is ended. Sounds pretty simple but I cannot find simple examples of a cookie doing anything similar to this. I found oodles...
11
6043
by: Jennifer | last post by:
Is there a way to check for to see if the user has session cookies enabled? I know how to check to see if they have cookies in general enabled, but how do you test for just session cookies? Thanks Jen
3
12398
by: Enoch Chan | last post by:
I would like to set a Session variable to a value. In Vbscript it should be Session("ZoomValue")=500 How can I set this session variable by using Javascript? Thanks
4
1977
by: 2obvious | last post by:
I'm trying to set a cookie to expire 10 seconds after it is created. However, it seems to last until I close all browser windows. var objDate = new Date(); objDate.setSeconds( objDate.getSeconds() + 10 ); document.cookie = "hasSeenPopup=TRUE;"; document.cookie += "expires=" + objDate.toGMTString(); I then set the cookie to expire in 1000 seconds, to test that it could indeed last longer than a session. However, when I close all...
12
6994
by: ACaunter | last post by:
Hi all, I was wondering how i could write some code which would automatically open the Login Page once the session has expired? -- AdamPC@hotmail.com
4
11438
by: mike.biang | last post by:
I have an ASP page that is using an XMLHTTP object to request various pages from my server. I keep a single session throughout the XMLHTTP requests by bassing the ASPSESSIONID cookie through the XMLHTTP object. However, when the page requested through the XML object makes a <%Response.Redirect()%> call, a new session is created each time. Is this a flaw in the XMLHTTP Object? How can I force the session to remain the same after a...
4
2873
by: rgparkins | last post by:
Hello I am running out of time with a problem I have running PHP 5.04 and Apache 2.0 and really need help :(. I have a page that stores a variable in session but each time I reload that page the session seems to be re-created and is an empty array. I have checked the session file and the variable is being stored against the session id, but I dont know why PHP is not picking up the session after I reload.. I have tried the usual suspects...
8
5434
by: Hamayun Khan | last post by:
Hi all I have developed Website in asp.net. The site was working fine for more than 6 months. Now from 3 to 4 days I m facing a problem. When I login as Admin to Administrator and create Session for the administrator. The Session expires in less than a minute. I don't know why i m facing this problem. I m sure that I did nothing to code that cause this problem. Any Help in this issue. Thanks in Advance.
0
9564
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10002
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9938
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8822
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7368
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5270
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5406
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3917
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3528
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.