473,763 Members | 3,910 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Write a secure cookie from dll

Yo Fells,

Just wanted to know how to create a cookie from method which is in a
saperate dll?

If i write those methods in Page_Lode, what i have written in that dll,
works file.
But I want that as a part of dll. so i can re-use it in any other project.
Rather
than copying and pasting the logic, i have created my own separate porject
on class library where i have listed some of my common methods i use in all
web projects. So creating a cookie is one of them. Thats why I want to know
how to create a cookie where that "method" resides in the dll.

thanks in advance,
--
=========
NuclearWeapon.E xecTimeOut=10;
NuclearWeapon.L aunch=True;
OhWhatIHaveDone ();

Feb 20 '06 #1
0 1192

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1291
by: Neil Zanella | last post by:
Hello, The ISP I am using uses PHP 4.1.2 which does not seem to support $_SESSION variables (i.e. it seems they are broken). So I am doing cookie based authentication as follows: I set a cookie with the user's username to keep track of the user. But this is bad because the user can simply change the cookie from their web browser and set the name of another user and thus change that other user's data this way. That's not good, and not...
1
1961
by: opt_inf_env | last post by:
Hello, I have a page such that each user can see only a corresponding (personal) part of the page. In the beginning I wanted to perform initialization of users (by asking there names and passwords and comparing them with names and passwords stored in database), than I planed (if comparison was successful) to set a corresponding value of variable $user_name and on the mentioned page with the help of the "if"-operator to check whether...
18
2474
by: | last post by:
Please help. After a number of wrong turns and experiments I need advice on login management system to secure our web pages without inconveniencing our visitors or our internal staff. What I need: A system whereby the user only has to register ONCE and he will have automatic entry to ANY page without havinto to RE-LOGIN even if he comes in
0
1822
by: | last post by:
Which of these scenarios is better: A -- User Registers and is returned to the login screen to test his new username ie (email address). A login script checks user name against database. and asigns him a cookie id with an expiration date 30 days in the future from Date(Now). He is automaticaly redirected to his initial requested target URL.
0
1166
by: Mike | last post by:
I have noticed that the id of my session object changes when I switch from a non-secure to a secure connection. What I'm trying to do: I have a cookie that is built on the non-secure side of things. What I need to do is to switch to a secure connection and then later on while still in that secure connection delete the cookie that was created on the non- secure side.
7
3023
by: Seth | last post by:
I have noticed that the id of my session object changes when I switch from a non-secure to a secure connection. What I'm trying to do: I have a cookie that is built on the non-secure side of things. What I need to do is to switch to a secure connection and then later on while still in that secure connection delete the cookie that was created on the non- secure side. I need to do this because I can not reference the non-secure cookie...
2
10230
by: flip79 | last post by:
Hello and sorry for my english, I'm italian... I manage a site with a normal address like: www.mysite.com I'm using a cookie to store nicks of my users, with a code like this: ---- Response.Cookies("mycookie").Expires = #January 1, 2030# Response.Cookies("mycookie").Path = "" Response.Cookies("mycookie").Secure = FALSE Response.Cookies("mycookie")("nick") = nick ----
3
3053
by: Will | last post by:
Is there a good article - or maybe a good chapter in a book - that someone can recommend on the topic of how to make cookie handling secure? I'm interested in common techniques for: - encrypting the cookie - verifying integrity of the cookie - organization of different cookie types, and typical entities maintained in
3
7052
by: ast3r3x | last post by:
I'm trying to implement the protocol used at http://www.cse.msu.edu/~alexliu/publications/Cookie/cookie.pdf to create cookies that can't be forged. I got everything working, except I have run into one problem: I don't know how to get the session key used for the encryption. I'm completely new to SSL and I just installed it on my server, and got it all set up that it works using http://mydomain.com. So that said, to my understanding,...
0
9563
marktang
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...
0
9386
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9997
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9937
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,...
0
9822
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8821
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, 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...
0
5270
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...
3
3522
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2793
bsmnconsultancy
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...

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.