I want to set the asp session id path property.
how can I do that?
I mean, asp session id is stored in a cookie and like any other cookie
it should have properties (or attributes), how can I control it?
Yossi. 5 1975
Are you talking about cookies (stored on the visitors computer), or
"session" cookies (stored in the servers memory)?
--
Regards
Steven Burn
Ur I.T. Mate Group www.it-mate.co.uk
Keeping it FREE!
"Yossi" <yo***@pansw.co m> wrote in message
news:e5******** *************** **@posting.goog le.com... I want to set the asp session id path property. how can I do that?
I mean, asp session id is stored in a cookie and like any other cookie it should have properties (or attributes), how can I control it?
Yossi.
Steven Burn wrote on 21 nov 2004 in
microsoft.publi c.inetserver.as p.general: Are you talking about cookies (stored on the visitors computer), or "session" cookies (stored in the servers memory)?
Not quite.
Session cookies, like all cookies, are stored at the client.
A session cookie [= a cookie, set without explicit expiration] expires when
the connecion is lost, if the browser behaves as intended. Some call it a
ram-cookie, because it is not stored on the client's hard disk.
A session variable [did you mean that?] however is stored on the server and
is kept till the session is timed out or abandoned. However a session is
only viable while and if the client keeps the session-id cookie, which to
the client is a normal session cookie [see above].
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress,
but let us keep the discussions in the newsgroup)
Cheers for the correction Evertjan ;o) (and yep, I meant session variables
(gotten used to calling them session cookies for some reason).
--
Regards
Steven Burn
Ur I.T. Mate Group www.it-mate.co.uk
Keeping it FREE!
"Evertjan." <ex************ **@interxnl.net > wrote in message
news:Xn******** ************@19 4.109.133.29... Steven Burn wrote on 21 nov 2004 in microsoft.publi c.inetserver.as p.general:
Are you talking about cookies (stored on the visitors computer), or "session" cookies (stored in the servers memory)? Not quite.
Session cookies, like all cookies, are stored at the client.
A session cookie [= a cookie, set without explicit expiration] expires
when the connecion is lost, if the browser behaves as intended. Some call it a ram-cookie, because it is not stored on the client's hard disk.
A session variable [did you mean that?] however is stored on the server
and is kept till the session is timed out or abandoned. However a session is only viable while and if the client keeps the session-id cookie, which to the client is a normal session cookie [see above].
-- Evertjan. The Netherlands. (Please change the x'es to dots in my emailaddress, but let us keep the discussions in the newsgroup)
Hi guys,
I was talking about the session id, which is stored as a cookie.
I cannot control the value of the session id (and I do not want to do
so) but I want to control it's attributes.
Can I do that?
"Steven Burn" <pv*@noyb.com > wrote in message news:<uP******* *******@TK2MSFT NGP09.phx.gbl>. .. Cheers for the correction Evertjan ;o) (and yep, I meant session variables (gotten used to calling them session cookies for some reason).
--
Regards
Steven Burn Ur I.T. Mate Group www.it-mate.co.uk
Keeping it FREE!
"Evertjan." <ex************ **@interxnl.net > wrote in message news:Xn******** ************@19 4.109.133.29... Steven Burn wrote on 21 nov 2004 in microsoft.publi c.inetserver.as p.general:
Are you talking about cookies (stored on the visitors computer), or "session" cookies (stored in the servers memory)?
Not quite.
Session cookies, like all cookies, are stored at the client.
A session cookie [= a cookie, set without explicit expiration] expires when the connecion is lost, if the browser behaves as intended. Some call it a ram-cookie, because it is not stored on the client's hard disk.
A session variable [did you mean that?] however is stored on the server and is kept till the session is timed out or abandoned. However a session is only viable while and if the client keeps the session-id cookie, which to the client is a normal session cookie [see above].
-- Evertjan. The Netherlands. (Please change the x'es to dots in my emailaddress, but let us keep the discussions in the newsgroup)
Yossi wrote: I was talking about the session id, which is stored as a cookie.
I cannot control the value of the session id (and I do not want to do so) but I want to control it's attributes.
Any cookie can be tweaked on the client side. Assuming you can consistently
identify the ASP session cookie, what advantage does controlling give you,
beyond persistence?
--
Dave Anderson
Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms. Please do not contact
me directly or ask me to contact you directly for assistance. If your
question is worth asking, it's worth posting. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: mrbog |
last post by:
Tell me if my assertion is wrong here:
The only way to prevent session hijacking is to NEVER store
authentication information (such as name/password) in the session.
Well, to never authenticate a user from information you got from the
session. Each secure app on a site must challenge the user for name
and password, each and every time the user accesses it (not just once
and then store it in the session). If a secure app is multi-page,...
|
by: bagsmode |
last post by:
Hi,
I'm trying to set a session cookie and then redirect, however I get the
error:
Status: 302 Moved Location: /index.cgi
I thought I recall getting an error like this when I first tried
performing a redirect when I had left in
print "Content-type:text/html\n\n";
|
by: Enoch Chan |
last post by:
I would like to set a Session variable to a value. In Vbscript it should be
Session("ZoomValue")=500
How can I set this session variable by using Javascript?
Thanks
|
by: Morten |
last post by:
Hi!
I've been implementing forms based authentication in a web project. It works
pretty good. When I log on by clicking the "login" button the following code
is executed:
if (ValidateUser(strUserName,txtUserPass.Value))
{
DBFunctions Commoncode;
Commoncode = new DBFunctions();
|
by: somaboy mx |
last post by:
Hello
I need people to be able to complete long text blocks in my cms before
their session times out. From the php documentation I gather that ini
directive session.gc_maxlifetime would be the one to adjust here.
I am on shared hosting, so I can't change the php_ini settings directly.
If I use ini_set, should I do that on every page in my cms, or would it
suffice to do it on the login page? Or could I do it in a .htaccess file
(which...
| |
by: Paul |
last post by:
I'm having a problem with the session being reset after setting a
cookie. This is not supposed to happen. If I comment out the Add
line below the site works normally, the session persists. Help.
vs2003/.net 1.1
HttpCookie httpCookie = new HttpCookie("myCookieName");
httpCookie.Value = (string)Session;
// BUG: adding the cookie kills the session.
|
by: laredotornado |
last post by:
Hi,
I'm using PHP 4.4.4 on Apache 2 on Fedora Core 5. PHP was installed
using Apache's apxs and the php library was installed to
/usr/local/php. However, when I set my "error_reporting" setting to be
"E_ALL", notices are still not getting reported. The perms on my file
are 664, with owner root and group root. The php.ini file is located
at /usr/local/lib/php/php.ini. Any ideas why the setting does not seem
to be having an effect? ...
|
by: SevDer |
last post by:
Hi,
I've done some coding in my web application however right now for an unknown
reason my asp.net 2.0 site is not setting asp.net_sessionid cookie and as a
result, I am losing the session data in each page refresh or redirect.
I really do not have any coding against how the session works.
And I have not changed any setting in IIS.
I even compared the 2 code(old and new) bases and didn't see anything funny
|
by: Jankie |
last post by:
Hi
I have disabled cookies in my browser just to test and discovered that session cookies are still set by php.I was looking for an example to set a session id cookie manually but couldnt find it.I assume it is set automatically by php as soon as a session start directive is declared.
I just want to store a session id in the cookie to remember data from page to page,not for authentication.
I can set a cookie that stores a name like this ....
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |