Re: Losing Session Variables
From: Aaron Bertrand [MVP] (aaron_at_TRASHaspfaq.com)
Date: 04/09/04
- Next message: J. Baute: "Re: Invalid session when a new IE window is opened using window.open()"
- Previous message: Jimbo: "Losing Session Variables"
- In reply to: Jimbo: "Losing Session Variables"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 9 Apr 2004 01:48:20 -0400
-- Aaron Bertrand SQL Server MVP http://www.aspfaq.com/ "Jimbo" <anonymous@discussions.microsoft.com> wrote in message news:1a92801c41df2$38bbf630$a101280a@phx.gbl... > Hi All, > > I'm rather new to ASP but I'm running into a problem that > has me stumped. I am developing some websites on my home > computer (WinXP Pro, IIS 5.1). > > Basically, I have an ASP login page that once a user is > authenticated a session variable is set to show they have > logged in successfully. > > For example: > Session("loggedin")= "True" > > They are then redirected to the "member" page, which > checks the session variable and displays the member page > if it is true, or jumps them back to the Login page if > False. > > For example: > If Session("loggedin") <> "True" Then > Response.Redirect ("login.asp") > Response.End > End If > > The problem I'm running in to is that the session > variable does not seem to be saving any data so even > registered users (i.e., me at the moment) get bounced > back to the login page. (I've tried switching to > cookies, but have the same problem - not surprising I > guess, since sessions use cookies). > > This was all working a few months back, but has now > stopped. I was working on a few different projects for > the past couple of months and have just returned to these > older projects. Any ideas as to what might be the cause > of this behavior and how it might be corrected? Could a > Windows or IE update be responsible? > > Thanks for any help. > > Cheers, > Jimbo > >
- Next message: J. Baute: "Re: Invalid session when a new IE window is opened using window.open()"
- Previous message: Jimbo: "Losing Session Variables"
- In reply to: Jimbo: "Losing Session Variables"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|