473,385 Members | 1,958 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

session_start() with dreamweaver templates

228 100+
I have searched the web but found no real solution. A previous developer developed an intranet with dreamweaver temapltes which is not really my favorite. Now my boss wants to track user loginstattte in all the pages. Since therwhole website is based in dwt, i want to start session_Start in the file plus track login and logout of the user from there.

Where do I place start session?
Apr 11 '12 #1
1 1838
johny10151981
1,059 1GB
in the beginning of every page.

if you ask why, then answer is complicated based on php ini setup. anyway. in simple words when php try to start a session it first look if there is already a session(getting from cookie) if not found then create a new session and send the information to the browser as header. header must have to be send before any other data.

and getting information of user in every page. save some user information in the session. whenever user would go to a new page , the name of the page can be stored along with the name of user for further analysis
Apr 13 '12 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: davidshook | last post by:
I am a begginer with not too much time on my hand. I do some html pages with Dreamweaver and with some minor Flash actionscript and I have a minor ability (with the help of lots of tutorials) to do...
11
by: jm | last post by:
Somebody on here recommended Dreamweaver with PHP. I am coming from (still using really) ASP and ASP.NET. PHP is more like ASP and not a whole lot like .net, but I wanted to know how Dreamweaver...
3
by: Captain Nemo | last post by:
Hi I'm essentially a back-end programmer so I don't know very much about Dreamweaver. However, I work with web-designers who are keen for me to write my pages using Dreamweaver templates. ...
0
by: dc | last post by:
Hello. I am looking for some Beta Testers for a new product called "Nested Templates" that uses a Dreamweaver MX Extension. More info can be found here...
0
by: dc | last post by:
Product Announcement: Multi-Lingual web site using Nested Templates and Menus http://www.decloak.com/Products/Dreamweaver/NestedTemplates/ You can see the TONGUES of FIRE demo web site at...
16
by: Nathan Funk | last post by:
I used to work as a web designer a couple of years ago, but I haven't been closely in touch in the past years. Has anything changed recently for managing content that is common among many pages...
2
by: Natan | last post by:
I have been using an implementation of that Paul Wilson`s master pages for asp.net 1.1. It`s nice, but there is a problem that generally in big sites, templates must be based on other templates, or...
1
by: Mark | last post by:
Hopefully somebody can help me with this very frustrating problem. In Dreamweaver I have a template page and a page created from this template called Home.aspx. In Visual Studio I have a class...
4
by: Manil | last post by:
Hi All, I wanted to know if there is any way to find out which html files were generated using a particular template within a project in Dream Weaver? We have recently started using Visual...
1
by: Rishi Boparai | last post by:
I'm using Dreamweaver to create the layout and manage my ASP.net 2 site. However, all ""code-behind"" is done in Visual Studio 2005 On my ASP.net pages I need to have a different declaration at...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.