[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cgiapp] logging in with CGI::Session and CGI::Application


On 17 Dec 2002 at 0:28, Franki wrote:
> Please let me know if you see any holes in it..  

Hi Franki,

The code you submitted looks workable. Unless you're doing some behind-the-
scenes work to maintain state, the 'logged_in' session parameter that you 
set is not kept between invocations of the script. Thus the ($session-
>param("logged_in")) check is pointless. 

For maintaining state, you could pass in hidden parameters or use a module 
such as CGI::Session or Apache::Session for state maintenance needs. Check 
the list archives for more details.
 
William

-- 
 Lead Developer
 Knowmad Services Inc. || Internet Applications & Database Integration
 http://www.knowmad.com
 


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.