Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." 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 Basics 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
  #1 (permalink)  
Old January 25th, 2006, 04:42 PM
Friend of Wrox
 
Join Date: May 2005
Location: , , .
Posts: 149
Thanks: 0
Thanked 0 Times in 0 Posts
Default Session object

I want to offer a guestbook application on my website for all of my members.Each member has his own folder and his own guestbook files.
Now about session that is created for each user.
 I want to know if other users can access other users' admin when they login to their account while the session name is the same for all redirect pages.can this cause problems.?


  #2 (permalink)  
Old January 25th, 2006, 09:32 PM
Friend of Wrox
Points: 6,664, Level: 34
Points: 6,664, Level: 34 Points: 6,664, Level: 34 Points: 6,664, Level: 34
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2004
Location: Sydney, NSW, Australia.
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

No problems there. Each user who visits your site share independant sessions.

IMO Each user should have a primary key field in the user BD table (preferably an auto incrimenting integer) this field is unique to each user. When they login set your session("someName") = that value. Now each user has this session variable set upon login however they are populated with unique values

Wind is your friend
Matt


Similar Threads
Thread Thread Starter Forum Replies Last Post
javascript and the session object VictorVictor ASP.NET 2.0 Professional 3 April 1st, 2007 02:58 PM
Session object error ankur16 Apache Tomcat 0 May 23rd, 2006 04:43 AM
Session Object mcinar Classic ASP Basics 9 January 9th, 2005 05:41 PM
Using the Session Object and JavaScript rguidry Classic ASP Professional 10 December 23rd, 2004 05:23 PM





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