473,503 Members | 1,656 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

bizzare session variable instance

I have an application with 5 or so pages. I use a session variable to
make sure people login. It has been working fine.

I added two new pages to the application, cut and pasted the code for
login (as shown below) however the user gets sent right back to the
login page ( we login as usual). The other pages work fine. It is just
the two new pages I added.

TO make things tougher. This only happens on the production server, not
my desktop, no changes have been made to the production server.

Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
'Put user code to initialize the page here
If Session("LoggedIn") = False Then
Response.Redirect("Login.aspx")
End If

If Not IsPostBack Then
Call GetCustomerList()
End If

AddHandler cmbCustomer.SelectedIndexChanged, AddressOf
GetAssemblies
AddHandler cmbAssembly.SelectedIndexChanged, AddressOf
GetWorkFlow
End Sub

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 22 '05 #1
0 621

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

Similar topics

0
789
by: billj2 | last post by:
I have an application with 5 or so pages. I use a session variable to make sure people login. It has been working fine. I added two new pages to the application, cut and pasted the code for...
6
1040
by: bill joyce | last post by:
I have an app that was running (about 5 pages). I have a session var in page load (see below) that I use to make sure people login. I added two pages to the application, on these two pages the...
0
1283
by: Kelly | last post by:
Help, So I'm doing the common make thumbnails script. to save server space, I don't want to store the thumbnails, so I did the classic break up script. I parse on the main page where it...
4
3429
by: Don Miller | last post by:
I am using a Session variable to hold a class object between ASP.NET pages (in VB). In my constructor I check to see if the Session variable exists, and if it doesn't, I create one and populate it...
0
7072
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7271
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
7319
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...
0
7449
tracyyun
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...
0
4666
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3160
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...
0
3149
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
730
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
373
bsmnconsultancy
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...

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.