Go Back   Webmaster Forums UK SEO SEM Webmaster Community Forum - UKWW > General > General Webmaster Talk
Register FAQ Members List Downloads Calendar Today's Posts Webmaster Resources Webmaster Blogs
 
 

General Webmaster Talk General webmaster discussion forums - In this forum and its sub forums you can discuss general webmaster related issues or even issues that does not related to Webmastering.
Sub Forums: Running a forum :: Blogs and Blogging :: Word Press Forums :: Digital Photography

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-08-2005, 05:26 PM
clau
Guest
 
Posts: n/a
Default Php session

I am using session in some sites of mine and my problem is how can i close the session if somebody does not log uot only closes the window or tab?

Thanks,
Claudiu
Digg this Post!Add Post to del.icio.usStumble this Post!Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 08-08-2005, 05:56 PM
Senior Member
0 posts this year. needs some grease!
New user, who has not interacted much yet.
 
Join Date: Jul 2005
Posts: 247
Thanks: 0
Thanked 0 Times in 0 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Send a message via MSN to stealthhosts
Default

Why close the session?

The session will close client-side when the user closes the window, if you must though, you can either set session timeout or session_write_close() at the end of your code
Digg this Post!Add Post to del.icio.usStumble this Post!Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 08-09-2005, 01:24 PM
clau
Guest
 
Posts: n/a
Default

Quote:
Why close the session?
You never leaved a forum or any site where you neede to log in without logging out?
If you did than you noticed that when you enter back you are already logged in without asking you for password an so.

This is why I want to close the session even is you exit the site without logging out.
Digg this Post!Add Post to del.icio.usStumble this Post!Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 08-09-2005, 02:46 PM
Senior Member
0 posts this year. needs some grease!
New user, who has not interacted much yet.
 
Join Date: Jul 2005
Posts: 247
Thanks: 0
Thanked 0 Times in 0 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Send a message via MSN to stealthhosts
Default

Thats cookies not sessions

Sessions close when the window is closed.
Digg this Post!Add Post to del.icio.usStumble this Post!Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 08-09-2005, 05:20 PM
Duke
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by stealthhosts
Thats cookies not sessions

Sessions close when the window is closed.
What he said.
Digg this Post!Add Post to del.icio.usStumble this Post!Wong this Post!
Reply With Quote
  #6 (permalink)  
Old 08-10-2005, 09:48 AM
clau
Guest
 
Posts: n/a
Default

Silly me
Digg this Post!Add Post to del.icio.usStumble this Post!Wong this Post!
Reply With Quote
Reply

Bookmarks



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Webmaster Resources
UK WW SEO Tools
Find UK Hosts
 
The Forum Rules
Forum Rules - MUST READ
 
Site Of the Month
BizzFace
Nominate site of the month
 
Tag Cloud
43. wholesale adsense ready apple iphone 16gb apple iphone 16gb 3g articles article writer australia web hosting beauty cash casino cheap clothes communications content custard media database dgital camerals domain name english teacher fantasy football fantasy football league fittness football league free handbags home income instant jewelry links link sale medical health money money making online music natural health news nokia n96 16gb one way links online online shop poker professor quality links replica sam allcock seo social networking sony vaio laptop sunglasses technology the medical plus themes tutor verbalized wallet wallets wanted web hosting widget ready wordpress xmas offer

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Session ID's Duke General Webmaster Talk 3 09-04-2005 10:45 PM
Session Errors howard iG Shop 3 08-21-2003 08:44 AM
Session errors? Marco iG Shop 1 08-21-2003 08:35 AM


All times are GMT. The time now is 08:29 AM.

UK Webmaster World Forums - Internet marketing, web development, domain names, SEO contest and discussuons.
Subscribe to our feeds   Subscribe to our feeds

Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0