Hi there
I'm having a problem where I'm losing Session variables as soon as they've
been set up.
The user logs onto the system, the system sets some Session variables, and
redirects to a menu page. The menu page checks the Session variables, can't
find them, and asks the user to log in again - the second login is successful.
Has anyone seen this before, and do you know what I should do about it? 2 1440
Problem solved!
I changed the Redirect call to 'Response.Redir ect("menupage.a spx",false)',
and got rid of a pesky Session.Clear() in the HTML for the page, and the
problem sorted itself out.
:-)
Paul H wrote: Problem solved!
I changed the Redirect call to 'Response.Redir ect("menupage.a spx",false)', and got rid of a pesky Session.Clear() in the HTML for the page, and the problem sorted itself out.
:-)
I'm happy to hear you sorted it out. However, I noticed you wrote ".aspx".
There was no way for you to know it but this is a "classic" asp group. The
..Net groups all have "dotnet" in their names. For future reference, the
ASP.Net group is microsoft.publi c.dotnet.framew ork.aspnet
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM" This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Eric Porter |
last post by:
Problem :
I have a Web Server which is session enabled. I have a method within that
server which if I call it repeatedly, it seems to forget the session every
six re-tries, and all the data therein. Is there, perhaps, a time-out
setting somewhere (one of the myriad) that I may have missed (although I
have run this sometimes, gone for a cup of tea, and return, done a re-run
and it has remembered the session data).
I have noted that...
|
by: Phillip N Rounds |
last post by:
I'm writing a user control which has two states: Active & InActive. I
additionally am required that there to be only one active control per page,
and all logic has to be contained within the control.
In its inactive state, only a single button appears. If the user clicks on
this button, the control becomes active( the rest of the control's
functionality becomes visible), and all other instances of this user control
on the page should...
|
by: JJ |
last post by:
I have an asp.net 1.1 app I wrote using the Mobile Controls.
I changed the timeout attribute in sessionState in web.config from the
default of 20 to 1440:
<sessionState
mode="InProc"
cookieless="false"
timeout="1440"
/>
|
by: Not Me |
last post by:
Hi,
I have a set of pages that use forms authentication for access. There
are times when one of the session objects I'm using appears to
disappear. The session is not timing out, however. (if I go to a page
that doesn't use that specific object it works fine and I'm not
redirected to the login page)
Apologies if I'm using the incorrect terminology.. the session object
I'm using is a class of my own, which features several private...
|
by: suspended |
last post by:
My website session is timing out frequently. I have modified the
web.config file such that
<sessionState timeout="60"/>
and also at the Page_load, I have assigned
Session.Timeout = 60;
but my session expires in about 5 minutes. What is going on and how to
fix it?
| |
by: Maspr |
last post by:
I am trying to build a mixed site of ASP and ASP.NET. I am having trouble
keeping the ASP session from timing out when using just the ASP.NET pages.
The ASP.NET pages has a Master Page with an iFrame that loads an ASP page,
however this is not keeping ASP from timing out. Does anyone know how to work
around this?
|
by: Jay |
last post by:
I have a multi threaded VB.NET application (4 threads) that I use to send
text messages to many, many employees via system.timer at a 5 second
interval. Basically, I look in a SQL table (queue) to determine who needs
to receive the text message then send the message to the address. Only
problem is, the employee may receive up to 4 of the same messages because
each thread gets the recors then sends the message. I need somehow to
prevent...
|
by: Arthur Dent |
last post by:
Hello all, i am at idea's end here...
We have an ASP.NET 2 app, which we want to prevent from ever timing out... i
have tried every thing i can think of... and have search all over, and have
not found anything new;
I have tried putting little spots in my master page which call back to the
server on a regular interval. I make sure to give them every non-caching
directive and/or header i can think of, and it still keeps timing out;
I have...
|
by: Nathan Sokalski |
last post by:
I have a page that uses Session variables when generating the SQL statements
used to submit and retrieve data from a database. However, because I don't
know how long the user will be on the page, setting the Session.Timeout
property doesn't help me avoid errors (I can obviously set the value to a
very high value, but that still doesn't completely solve the problem). Is
there any way for me to avoid the Session timing out? Thanks.
--...
|
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...
|
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...
| |
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,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |