Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > Pro JSP
|
Pro JSP Advanced JSP coding questions. Beginning questions will be redirected to the Beginning JSP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro JSP 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 September 3rd, 2004, 05:45 AM
Registered User
 
Join Date: Aug 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Checking User validity

Hi Friends,

I am using session variable for checking user validity among the pages. That is, After logging in, I am getting the user's name from the session. If the name value is empty or null, I am redirecting the page to login page. Is there any other way to check the user validity? Can anybody help me in this issue?

Thanks in advance.

sampath

 
Old September 7th, 2004, 06:14 AM
Friend of Wrox
 
Join Date: Jul 2004
Posts: 345
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to gokul_blr Send a message via Yahoo to gokul_blr
Default

Based on your need/requirement you can select one of these method

http://www.4guysfromrolla.com/webtec...tication.shtml

 
Old September 12th, 2004, 04:12 PM
Friend of Wrox
 
Join Date: Jul 2004
Posts: 204
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello,

I use a javaBean with session scope to hold users details. I am not sure if this is a good aproach, perhaps you could tell me if it is not!






Similar Threads
Thread Thread Starter Forum Replies Last Post
User Forms & Checking Input JezLisle Excel VBA 0 February 6th, 2008 08:34 AM
Checking user list logon to SQL server Jane SQL Server 2000 4 May 16th, 2006 02:35 AM
"Pause" Checking ... tonyrosen Excel VBA 2 November 23rd, 2005 11:02 AM
Problem in textbox validity.... naasfama Pro VB 6 2 September 16th, 2005 05:37 PM
checking user input hosefo81 Javascript How-To 0 February 16th, 2004 11:59 PM





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