cancel
Showing results for 
Search instead for 
Did you mean: 

Session Cookies

Former Member
0 Kudos

How to create session cookies ?(client side cookies)

For storing of data(variables or internal tables )and retriving them back .

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member181879
Active Contributor
0 Kudos

Hallo,

As I see that this is your first append in this forum, let me first give you the most import link for the next few weeks. <a href="/people/brian.mckellar/blog/2004/06/11/bsp-trouble-shooting-getting-help">BSP Trouble Shooting: Getting Help</a> is a document that should help in finding information.

For you specific question, the <a href="/people/brian.mckellar/blog/2003/10/23/bsp-trouble-shooting-frequently-asked-short-questions">BSP Trouble Shooting: Frequently Asked (Short) Questions</a> has a short reference to response->set_cookie (versus request->get_cookie method).

<a href="http://help.sap.com/saphelp_nw04/helpdata/en/78/985287c06b11d4ad310000e83539c3/frameset.htm">Accessing Cookies</a> sounds just like the documentation you wanted to read.

++bcm

Former Member
0 Kudos

Sachin,

I think there is a size limitation on the client side cookies.

Brian 'The Great', told us once (or maybe several times) that using client side for internal table will easily reach and pass that limit.

Well let me correct myself Brian was talking about url size limitation on one of the topic he wrote (Pay attention on the bolded paragraph):

<i>

When you are using the navigation object, it is actually doing a redirect via the browser back to the server. There is a limit on the number of bytes that will fit into the url, about 2-4KB. Internal tables always springs this limit.

<b>Store table somewhere in the server. If you are stateful, any place on a controller, model or application class will do. If stateless (or in anycase), dump the table into a server side cookie. This is well documented, has been discussed a number of times in this forum, and even one of my weblogs have an example.</b></i>

Regards,

Iwan

Message was edited by: Iwan Santoso

Message was edited by: Iwan Santoso

Former Member
0 Kudos

By doing a search for "cookies" in this forum you will find lots and lots of help on the topic. Including examples of how to save data and retrieve it.