I saw that session handling mentioned an %mdat as well as %udat hash. What is the difference and when and why would I use the %mdat hash?
What is the purpose of %mdat (as compared to %udat) in Embperl?
167 views Asked by Alice At
1
There are 1 answers
Related Questions in PERL
- Perl Regex for converting query strings
- Cross compiling perl for Android ld.lld: error: unable to find library -lpthread
- Regexp to remove small numbers and leave large ones
- `df` command not capturing entire output in perl
- Webmin CentOS7 AWS backup errors - perl(S3::AWSAuthConnection) can't be installed
- How to ignore perm errors with Path::Tiny 'visit'? (Windows)
- Why does setting `*\` to a scalar (string) reference not result in auto printing
- Regex for deconstructing SQL where statement
- Random characters in DS record from Net::DNS:RR when calling print/string
- Perl with Selenium: cannot save the Web page with Ctrl+S
- openssl pbkdf2 and perl
- Strawberry Perl using a separate winlibs distro
- Perl / Undefined value as a HASH reference when running SNMP queries
- Timestamp with timezone: works with isql but not with DBD::Firebird
- Slurping a file ... syntax error - example from perldoc
Related Questions in SESSION-VARIABLES
- ASP.NET Session variable data lost randomly for random users
- How to link Stripe session with my own web app session
- Creating a game in Flask / Print the values of a while loop in different html pages
- How do I reload an html page to make changes visible after a user logs in?
- $_SESSION variable in php is not incrementing according to the condition
- When using Session Variable to store username. WSGI application 'CMS.wsgi.application' could not be loaded; Error importing module
- Does PHP reinitialize session variables when visiting a page in another tab?
- Add fees based on custom selected options in WooCommerce Cart page
- Cannot rollback user-defined variables in MySQL
- Set variable to an expired session out of a view in Django
- In flask, can I not name a session variable using another varible?
- Missing Session variable in ASP.NET MVC 4
- Express.js not saving session data
- How to store an int userId in asp.net core razor website
- Supervisor (superuser) approval of root superuser login in Django
Related Questions in EMBPERL
- Foreach Loop in EmbPerl
- Img source is a variable, the URL gets encoded
- embperl - Using IPC::Open3 to call wkhtmltopdf. STDIN Not working
- perl / embperl -- IPC::Open3
- can't add a base64-encoded image to vCard
- perl5 Number Sign # not working for comments
- getting form data values as null in %fdat variable in EmbPerl
- getting form data values as null in %fdat varible in EmbPerl
- How can one manually create an Apache request object?
- Is there an automated way to discover Embperl 1.x syntax not compatible with Embperl 2.x?
- Is there any performance comparison between Perl web frameworks?
- User-independent session data: is it implemented anywhere outside of Embperl?
- What is the purpose of %mdat (as compared to %udat) in Embperl?
- Should I consider using Embperl as Perl templating solution?
- How do I do something like 'print Dumper $var' in Embperl
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
As noted in Embperl POD,
Also, please note that the "you will see" wording in POD above is somewhat misleading, which may have contributed to your confusion.
The main Embperl documentation provides a more precise answer that removes the confusion:
Please note the text I highlighted in bold - any user. Typical session data (as stored in
%udat) is only stored and accessible for a specific user.Therefore,
%mdatacts as a sort of per-individual-embperl-page but user-independent data store.To answer your "when" question, an example of using
%mdatin practice would be per-page visit counter.