CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Beginner: Re: [Fishhead] Sessions variables: Edit Log


Feb 18, 2016, 5:53 AM

Views: 7719
Re: [Fishhead] Sessions variables


Stick to writing your test scripts, they will be most valuable, but just another thought. If its an auction script with a user system already in place, does it already use a stateful session via CGI::Session, if so then this would likely collide with your new session if both use the default cookie name.

Also, your I/O code inevitably works for a single user, but multiple users would share the same file. You would need a file per user identified by a unique id. This is effectively a session and the process CGI::Session is designed to handle.

Its regularly difficult when modifying a large script, particularly one someone else wrote carelessly. Perl scripts are especially difficult with their vast range of syntax styles. It gets easier the more you do it and hitting problems only helps to develop your knowledge and understanding in areas you would otherwise never cover.


(This post was edited by Zhris on Feb 18, 2016, 5:56 AM)

Edit Log:
Post edited by Zhris (Enthusiast) on Feb 18, 2016, 5:56 AM

Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives