In-Portal Issue Tracker

Welcome to the In-Portal Open Source CMS Issue Tracker! This is a central management / tracking tool for all types of tasks / issues / bugs for the In-Portal Project. Before reporting any issues, please make sure to read the Guide into Issue Tracker and How to Properly Test and Report Bugs!

Viewing Issue Simple Details Jump to Notes ] Wiki ]  Related Changesets ] View Advanced ] Issue History ] Print ]
ID Category Type Reproducibility Date Submitted Last Update
0000237 [In-Portal CMS] Front End feature request N/A 2009-08-23 16:15 2009-11-13 14:02
Reporter alex View Status public Project Name In-Portal CMS
Assigned To alex Developer
Priority normal Resolution fixed Fixed in Version 5.0.1
Status closed Product Version 5.0.0 Target Version 5.0.1
Time EstimateNo estimate
Summary 0000237: Make session creation optional on Front-End
Description Currently on the front-end user session (tables UserSession, SessionData) is created no matter what user does. In particular simple site browsing even without form submission creates new session. When spider is indexing website, then session is also created, but spider isn't using cookies or javascript, that's why session is created for each indexed page. At the end of the day we have additional load on database server and a lot of expired session to clean up.

I propose not to create session in case, when all data, that is stored in session could be easily obtained during page load without consuming additional web server resources. This will help us in cases, when user is not logged in.
Additional Information Additionally we should check how session (admin/front-end) is working when cookies are disabled in browser or one of 3 explicit session storage modes is selected (auto, query string, cookies).
Tags No tags attached.
Reference
Change Log Message
Estimate Points 0
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
User avatar (0000355)
alex (manager)
2009-08-23 16:55

Fix committed to 5.0.x branch. Commit Message:

1. Fixes 0000237: Make session creation optional on Front-End
2. All session id storage modes are fixed to be compatible with fake sessions.
User avatar (0000356)
alex (manager)
2009-08-24 01:10

There are still some things to to:
1. session will be created, when:
- viewing product detail page (<inp2:p_AddToRecent/> tag)
- viewing link/article/topic detail page (<inp2:RegisterHit/> tag)
- subscribing to site mailing (SubscriberEmail session variable)

2. "Browse Site" functionality is broken, when cookies are disabled in browser, because admin sid is not given in url to front-end, so it could properly load admin session for permission checking.
User avatar (0000769)
administrator (administrator)
2009-10-03 07:57

Closing issues from 5.0.1 version, because version was already released.
User avatar (0001103)
alex (manager)
2009-11-13 12:57

Fix committed to 5.0.x branch. Commit Message:

1. Fixes 0000237: Make session creation optional on Front-End
2. All session id storage modes are fixed to be compatible with fake sessions.
User avatar (0001150)
alex (manager)
2009-11-13 14:02

This task was resolved multiple times, because of themes were moved into separate modules. I will revert issue status and fixed in version fields back to normal manually.

- Related Changesets
In-Portal CMS: 5.0.x r12369
Timestamp: 2009-08-24 01:07:05
Author: alex
Details ] Diff ]
Bug 0000237: Make session creation optional on Front-End
mod - /in-portal/branches/5.0.x/core/kernel/session/inp_session.php Diff ] File ]
mod - /in-portal/branches/5.0.x/core/kernel/session/session.php Diff ] File ]
In-Portal CMS: 5.0.x r12368
Timestamp: 2009-08-23 16:55:59
Author: alex
Details ] Diff ]
1. Fixes 0000237: Make session creation optional on Front-End
2. All session id storage modes are fixed to be compatible with fake sessions.
mod - /in-portal/branches/5.0.x/core/kernel/application.php Diff ] File ]
mod - /in-portal/branches/5.0.x/core/kernel/db/cat_event_handler.php Diff ] File ]
mod - /in-portal/branches/5.0.x/core/kernel/db/db_event_handler.php Diff ] File ]
mod - /in-portal/branches/5.0.x/core/kernel/db/dbitem.php Diff ] File ]
mod - /in-portal/branches/5.0.x/core/kernel/event_manager.php Diff ] File ]
mod - /in-portal/branches/5.0.x/core/kernel/processors/main_processor.php Diff ] File ]
mod - /in-portal/branches/5.0.x/core/kernel/session/inp_session.php Diff ] File ]
mod - /in-portal/branches/5.0.x/core/kernel/session/session.php Diff ] File ]
mod - /in-portal/branches/5.0.x/core/kernel/utility/http_query.php Diff ] File ]
mod - /in-portal/branches/5.0.x/core/units/captcha/captcha_eh.php Diff ] File ]
mod - /in-portal/branches/5.0.x/core/units/helpers/captcha_helper.php Diff ] File ]
mod - /in-portal/branches/5.0.x/themes/default2009/platform/inc/captcha_image.elm.tpl Diff ] File ]
Themes :: Advanced: 5.0.x r12368
Timestamp: 2009-08-23 16:55:59
Author: alex
Details ] Diff ]
1. Fixes 0000237: Make session creation optional on Front-End
2. All session id storage modes are fixed to be compatible with fake sessions.
mod - /in-portal/branches/5.0.x/core/kernel/application.php Diff ] File ]
mod - /in-portal/branches/5.0.x/core/kernel/db/cat_event_handler.php Diff ] File ]
mod - /in-portal/branches/5.0.x/core/kernel/db/db_event_handler.php Diff ] File ]
mod - /in-portal/branches/5.0.x/core/kernel/db/dbitem.php Diff ] File ]
mod - /in-portal/branches/5.0.x/core/kernel/event_manager.php Diff ] File ]
mod - /in-portal/branches/5.0.x/core/kernel/processors/main_processor.php Diff ] File ]
mod - /in-portal/branches/5.0.x/core/kernel/session/inp_session.php Diff ] File ]
mod - /in-portal/branches/5.0.x/core/kernel/session/session.php Diff ] File ]
mod - /in-portal/branches/5.0.x/core/kernel/utility/http_query.php Diff ] File ]
mod - /in-portal/branches/5.0.x/core/units/captcha/captcha_eh.php Diff ] File ]
mod - /in-portal/branches/5.0.x/core/units/helpers/captcha_helper.php Diff ] File ]
mod - /in-portal/branches/5.0.x/themes/default2009/platform/inc/captcha_image.elm.tpl Diff ] File ]
Modules :: In-Commerce: 5.0.x r12367
Timestamp: 2009-08-23 16:15:46
Author: alex
Details ] Diff ]
Bug 0000237: Make session creation optional on Front-End
mod - /in-commerce/branches/5.0.x/in-commerce/units/orders/orders_event_handler.php Diff ] File ]

- Issue History
Date Modified Username Field Change
2009-11-13 14:02 alex Note Added: 0001150
2009-11-13 14:02 alex Status resolved => closed
2009-11-13 14:02 alex Fixed in Version => 5.0.1
2009-11-13 12:57 alex Changeset attached 5.0.x r12368
2009-11-13 12:57 alex Note Added: 0001103
2009-11-13 12:57 alex Status closed => resolved
2009-11-13 12:57 alex Fixed in Version 5.0.1 =>
2009-10-03 07:57 administrator Note Added: 0000769
2009-10-03 07:57 administrator Status resolved => closed
2009-08-24 01:10 alex Note Added: 0000356
2009-08-24 01:07 alex Changeset attached 5.0.x r12369
2009-08-23 16:56 alex Fixed in Version => 5.0.1
2009-08-23 16:56 alex Target Version => 5.0.1
2009-08-23 16:55 alex Note Added: 0000355
2009-08-23 16:55 alex Status active => resolved
2009-08-23 16:55 alex Resolution open => fixed
2009-08-23 16:55 alex Assigned To => alex
2009-08-23 16:55 alex Changeset attached 5.0.x r12368
2009-08-23 16:15 alex Changeset attached 5.0.x r12367
2009-08-23 16:15 alex New Issue



Web Development by Intechnic
In-Portal Open Source CMS
In-Portal Open Source CMS
Copyright © 2000 - 2009 MantisBT Group

Powered by Mantis Bugtracker