Wrox Programmer Forums
|
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 5th, 2003, 06:22 AM
Registered User
 
Join Date: Jun 2003
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to asifqua
Default ASP session variable problem

Dear All
I m Working on an Online Examination System.when a user login on this site then im storing few values in session variables.

but if more then one user login at the same time then it is not working.when sencond user login on this site then the priveous values of all session variables removed.

plz Help me . i m really in trouble
Best Regards,
Asif Hameed
 
Old June 5th, 2003, 09:05 AM
Authorized User
 
Join Date: Jun 2003
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

It sounds to me that your asp webserver is not setup properly. Using IIS, you need to setup your asp site as an application. This way, you'll be guaranteed that each user is assigned their own session variables. Problem solved!!!
 
Old June 5th, 2003, 10:11 AM
Registered User
 
Join Date: Jun 2003
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to asifqua
Default

Actually My Site is Uploaded on Brinkster.com.
How i defined my site as an application ?
Asif Hameed
 
Old June 5th, 2003, 10:14 AM
Registered User
 
Join Date: Jun 2003
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to asifqua
Default

Thanks jscully for reply.
actually my site is uploaded on brinkster.com.
how can i defined my site as an application on brinkster ?
do u mean global.asa ?

Thanks For Help
Asif Hameed
 
Old June 5th, 2003, 10:29 AM
Authorized User
 
Join Date: Jun 2003
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You can put some asp code in global.asa to extract a unique user_id from a database table if you wish. However, you don't need to do that here.

I've never used brinster.com, but I suggest that you contact their admin people and ask them to setup your asp site as an application using IIS.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Session Variable Problem caterpillar General .NET 0 August 17th, 2006 11:26 AM
How are Session variable maintened in ASP rekha_jsr Classic ASP Basics 1 November 30th, 2004 07:29 AM
Another Session Variable Problem [email protected] Classic ASP Databases 1 August 1st, 2004 03:58 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.