Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Wrox Announcements and Feedback > User Group Events - Culminis
|
User Group Events - Culminis Post announcements about upcoming Culminis User Group events.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the User Group Events - Culminis 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
  #11 (permalink)  
Old July 16th, 2010, 03:11 AM
Registered User
 
Join Date: Jul 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Maintaining session value

hello,

Are you using RequestDiapatcher for travelling between different pages?
There are two methods Include(req,res) and forward(req,res) with RequestDispatcher.
If yes, I would suggest to use "Include(req,res)" method which retains the values of previous page and we can use those on the required page.
eg.
RequestDispatcher rd = req.getRequestDiapatcher("login.html");
req.include(req.res);

I hope this will help.





Similar Threads
Thread Thread Starter Forum Replies Last Post
session in shopping cart page Jane Siu Beginning PHP 1 November 22nd, 2006 01:49 AM
Session Not available Problem in Master Page cbe_seenu ASP.NET 2.0 Professional 0 July 31st, 2006 08:47 AM
Session State - Page 265 ukbrit Dreamweaver (all versions) 5 November 3rd, 2004 06:55 AM
Passing Session Variables to the Next Page [email protected] ASP.NET 1.0 and 1.1 Professional 1 August 1st, 2004 06:25 PM
login page and session variables scdownload Classic ASP Basics 0 December 8th, 2003 06:13 PM





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