473,410 Members | 1,916 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,410 software developers and data experts.

save sessions even when the browsers closed

42
Hello, im trying to set up the sessions so you wont logout after you close the browser but im not sure how to accomplish this. Do I have to combine cookies with the session or something? :)
I would appreciate if someone could point to an article or something useful to read.
Aug 8 '07 #1
6 1615
ak1dnar
1,584 Expert 1GB
Moved from php ARTICLES ! (Sorry For Shouting Guys, I hate the Posters who do not read the Posting Guidelines)
-ajaxrand
Aug 8 '07 #2
ak1dnar
1,584 Expert 1GB
Hello, im trying to set up the sessions so you wont logout after you close the browser but im not sure how to accomplish this. Do I have to combine cookies with the session or something? :)
I would appreciate if someone could point to an article or something useful to read.
Did you mean Close the Browser or Just only a window(means Still the web browser is running for different purpose Ex: another web page)

Thanks
-ajaxrand
Aug 8 '07 #3
Gozil
42
Moved from php ARTICLES ! (Sorry For Shouting Guys, I hate the Posters who do not read the Posting Guidelines)
-ajaxrand
ops, i clicked on articles by mistake, i meant to post in the forums.. sorry :)

Did you mean Close the Browser or Just only a window(means Still the web browser is running for different purpose Ex: another web page)

Thanks
-ajaxrand
I mean close the browser complete.. as if I login on this site and then close the browser and then open it and come back, i would still be logged without having to relogin.
Aug 8 '07 #4
ak1dnar
1,584 Expert 1GB
ops, i clicked on articles by mistake, i meant to post in the forums.. sorry :)
Forget It Please. Even Experinced People also doing the same. :D

I mean close the browser complete.. as if I login on this site and then close the browser and then open it and come back, i would still be logged without having to relogin.
Cookies is the medicine for this. Because session will lost once you closed the browser application completely.
Take a tour [Persistent Login Section is Good for you]

Post Back with any issue.
Thanks and Good Luck!
Aug 8 '07 #5
Gozil
42
Thanks, i got a good idea on how its working now :)
Aug 13 '07 #6
ak1dnar
1,584 Expert 1GB
Thanks, i got a good idea on how its working now :)
Glad to hear that. post back anytime if there is a doubt again.
Good Luck !
Aug 14 '07 #7

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

Similar topics

13
by: jing_li | last post by:
Hi, you all, I am a newbee for php and I need your help. One of my coworker and I are both developing a webpage for our project using php. We have a copy of the same files in different location...
22
by: Theo | last post by:
Question for the group The authentication system for the site Im working on seems to function properly and all is good. A session keeps track of everything and a cookie is used to accept or deny...
3
by: Colin McKinnon | last post by:
Hi all, The title says it all - I'm doing sessions with cookies. I can divide the data within the session easily enough but I can't see when the user creates a new window or closes an old one. ...
9
by: Bartosz Wegrzyn | last post by:
I need help with sessions. I createt set of web site for nav with authorization. first I go into main.php which looks like this: <?php //common functions include_once '../login/common.php';...
10
by: Mark H | last post by:
Hey all-- I'm building a database and I basically need to keep out people who aren't authorized, but it's not like I need top security here. I'm just doing basic user/pass of a SQL database, and...
1
by: Pavils Jurjans | last post by:
Hello, I have a couple of unclear questions about ASP.NET sessions: First, I'd like to have some way to see how many sessions currently are running on the certain application, and, possibly, have...
1
by: registerhere | last post by:
Hi, I was working with acrojavascript when i came acroos it. I have a pdf form. A global variable t=1 is initialized. Just before the form is closed, it calls a function dat increments its...
5
by: jheines | last post by:
I am trying to explain how cookies and sessions work in a class I teach, but I have hit a wall when it comes to the interaction between cookies and the state of the privacy settings in Internet...
8
by: Chuck Anderson | last post by:
I've instituted a sessions based scheme on my web site to combat hot linking to my images. When someone requests a page at my site, I set a session variable. I then use htaccess to redirect *all*...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.