Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP 3.0 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 21st, 2005, 12:41 PM
Authorized User
Join Date: Mar 2005
Location: , , .
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 15 Session variables

In the exercises, for AddUsers and MenuForRegisteredUsers. I lose the Session variables. I have verified that they are there in the AddUsers script by inserting a Response.Write in the For loop. But when it is redirected to the MenuForRegisteredUsers, they are not there.

I did modify the code to use a SQL Server database instead of the Access database.

Any suggestions?

  #2 (permalink)  
Old November 22nd, 2005, 04:37 PM
Registered User
Join Date: May 2005
Location: , Bedfordshire, United Kingdom.
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts

Did you copy some code to one of your files from default.asp and incluce the <% Session.Abandon %> by mistake.
  #3 (permalink)  
Old November 22nd, 2005, 06:55 PM
Authorized User
Join Date: Mar 2005
Location: , , .
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts

No, I didn't copy any code from default.asp or introduce the Session.abandon method.

I did finally figure it out. It was PestPatrol and ZoneAlarm, both stops cookies. Now, I know why you would not use the Session variables in a production environment

  #4 (permalink)  
Old December 9th, 2005, 05:12 PM
Registered User
Join Date: Aug 2003
Location: , , .
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to demiwolf

A way around cookies is to send the data through hidden forms via pages. It's a tedious way to code, but it does work.


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 15: using session variable ftor BOOK: Professional PHP 5 ISBN: 978-0-7645-7282-1 0 August 9th, 2007 01:30 AM
Session Variables in C# shikha09 C# 1 November 28th, 2006 10:38 AM
Session Variables testsubject Visual Studio 2005 8 March 8th, 2006 04:26 PM
Professional PHP5 Ch. 15 Custom Session Handler superrobotpope Pro PHP 4 February 4th, 2005 08:32 PM
Session Variables flesh_god Dreamweaver (all versions) 7 November 11th, 2003 05:52 PM

All times are GMT -4. The time now is 05:58 PM.

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