Sponsored Content
Top Forums Shell Programming and Scripting Perl website login and session Post 302157577 by LNC on Friday 11th of January 2008 10:05:09 AM
Old 01-11-2008
Perl website login and session

Hi,

I'm currently working on a perl website, and I would need a system where a few users can login into the administration side of the site. about 5-10 users maximum, all pretty simple.
I was thinking of using an .htaccess file and a seperate admin folder on the server. I'm wondering if there is any way to use the username someone entered in the perl scripts on the admin pages. (for example, to put a "logged in as:" field on the webpage somewhere). Maybe there is a variable or something I can use.

I'm also wondering what my other options are in this matter, for instance, making an actual login page, how would this work? can I make a users table in a database then (with password encryption).. I'd like it to be secure.

Any help is welcome, this is a good learning experience.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

automatic login from windows by a telnet session

Help me please, I wanna know if it's possible to define in windows the option when somebody starts a telnetsession to a unix machine it automatically logs in with the username and password of this user. Or if there is a possibility to set the username and password to an Icon on the users... (3 Replies)
Discussion started by: Herwin
3 Replies

2. UNIX for Advanced & Expert Users

User login session

Having a problem on AIX 4.3.3 with the following error when more than 2 users try and sign onto the server. 3004-312 All available login sessions are in use. ???? (1 Reply)
Discussion started by: Docboyeee
1 Replies

3. Shell Programming and Scripting

PHP: problem after login on website

I have a auction website i downloaded and when i log in as the admin, i get the following error whats wrong. the username and password are correct for the log in. Its trying to run another script called admin_catorgies_class.php . thats what i can see in the php script anyway. here the... (5 Replies)
Discussion started by: perleo
5 Replies

4. UNIX for Advanced & Expert Users

Unix login session and Password

Hi All, I've login to Unix using login name guest and I'm working on it, I need another session to run some script hence tried to login but password invalid it says here my question is : Since I'm in working in one session can I set the password without knowing old password? is there any... (1 Reply)
Discussion started by: krishna
1 Replies

5. UNIX for Dummies Questions & Answers

Need a Help Please- Login a reflectionX session but what you type is not what you get

Im having a problem using unix program client ReflectionX. as soon as i login to one session i type to change to any directory or type something but the problem is that what i type in is not what you get. ie i type: $cd ~/alejo (to change HOME DIRECTORY - alejo subdirectory but when i type it... (2 Replies)
Discussion started by: alexcol
2 Replies

6. Solaris

I am not able to login in gnome session and java session in Sun solaris 9& 10

I am not able to login in gnome session and java session in Sun solaris 9& 10 respectively through xmanager as a nis user, I am able to login in common desktop , but gnome session its not allowing , when I have given login credentials, its coming back to login screen, what shoul I do to allow nis... (0 Replies)
Discussion started by: durgaprasadr13
0 Replies

7. Shell Programming and Scripting

Record login session...

How to record my login session in a file named session.lst? (1 Reply)
Discussion started by: anupdas
1 Replies

8. Shell Programming and Scripting

Determining if session is a login session

Besides 'who am i' and 'tty' what commands could be used to determine if a session is interactive as compared to a web process or cron process. Any command should work with the common unix variants. (3 Replies)
Discussion started by: jgt
3 Replies

9. Shell Programming and Scripting

Need to track what Commands run in a login session

Hi I need to track what commands run in login session in solaris whether it is root or any normal users in bash shell. My actual requirement is that when a user (nomal/root) login into the system, whatever commands he run, it should log into file on specified path . I don't require command... (4 Replies)
Discussion started by: hb00
4 Replies

10. UNIX for Advanced & Expert Users

Login and logout time of a session

Hi, How can I find out the login and logout time of the old UNIX session/user?. (2 Replies)
Discussion started by: sharif
2 Replies
PAR::Packer(3)						User Contributed Perl Documentation					    PAR::Packer(3)

NAME
PAR::Packer - PAR Packager DESCRIPTION
This module implements the App::Packer::Backend interface, for generating stand-alone executables, perl scripts and PAR files. Currently, this module is used by the command line tool pp internally, as well as by the contributed contrib/gui_pp/gpp program. Since version 0.97 of PAR, this module and its related tools such as "pp" have been stripped from the PAR distribution and are now distributed as the "PAR-Packer" distribution so that PAR users need not necessarily have a C compiler. SEE ALSO
PAR, pp App::Packer, App::Packer::Backend ACKNOWLEDGMENTS
Mattia Barbon for taking the first step in refactoring pp into App::Packer::Backend::PAR, and Edward S. Peschko for continuing the work that eventually became this module. AUTHORS
Audrey Tang <cpan@audreyt.org> Steffen Mueller <smueller@cpan.org> <http://par.perl.org/> is the official PAR website. You can write to the mailing list at <par@perl.org>, or send an empty mail to <par-subscribe@perl.org> to participate in the discussion. Please submit bug reports to <bug-par@rt.cpan.org>. COPYRIGHT
Copyright 2004-2010 by Audrey Tang <cpan@audreyt.org>. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See <http://www.perl.com/perl/misc/Artistic.html> perl v5.18.2 2013-11-30 PAR::Packer(3)
All times are GMT -4. The time now is 12:55 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy