How to have a unique requestId for a Page for multiple users

Hi,
Can someone please tell me how to get a unique RequestId whenever a page is visited. I need to have a unique RequestId generated for each user if they are on some specific
page. Whenever a users refreshes a page or come to the page by clicking back button want to have a unique requestId always.
Can I use sessionRequestId or something for HttpServletRequestObject that always gives me a unique Id.
Thanks

Unique for how long?
Eternally unique ?
unique until the server restarts?
Most simplistic approach would be to have a static/singleton counter. It wouldn't work perfectly in high volume sites, but should work well enough for smaller ones. Including a timestamp in the key makes it fairly unique.
This would handle both initial requests and refreshes of the page.
There is nothing you can do about users hitting the back button. If the page gets served from the client cache, the server knows nothing about it, and can not issue a unique id.
Why the requirement? What are you trying to accomplish by doing this?

Similar Messages

  • How I can set the spelling language in Pages for iPad?

    how I can set the spelling language in Pages for iPad? may for german...

    how I can set the spelling check to other language in Papers/iPad?
    The only choices you have in the iPad itself are to change the keyboard or change the user interface language. If that doesn't do what you want, probably best ask the people who make Papers.

  • Query for Last page visit by user/session and get version # of current page

    Hi Guru's,
    Any have a query to retrive last page visited by user / session? Somewhere from apex view fir 3.0 or later version? Also looking for query to get version number of current page

    RequestCtx.getResponsibilityId() should return you the Responsibility Id &
    RequestCtx.getUserId() should return the User Id.
    As I understand RequestCtx values are always available in the JSP Page. Kindly check again.

  • How to have a unique value for each record??

    could any 1 help me out in this...
    I want to have a column name 'Order No' which should be unique.
    How to generate a unique value for each record.??

    could any 1 help me out in this...
    I want to have a column name 'Order No' which should be unique.
    How to generate a unique value for each record.?? If you are using SQL PLUS to create the table try something like
    this:
    CREATE TABLE ORDER_TEST (
    ORD_NO NUMBER (8) NOT NULL PRIMARY KEY,
    ORDERDATE DATE,
    CUSTID NUMBER (8) NOT NULL,
    SHIPDATE DATE,
    TOTAL NUMBER (8,2) CONSTRAINT TOTAL_ZERO CHECK
    (TOTAL >= 0),
    CONSTRAINT ORD_FOREIGN_KEY FOREIGN KEY (CUSTID) REFERENCES
    CUSTOMER (CUSTID),
    CONSTRAINT ORD_UNIQUE UNIQUE (ORD_NO)
    -- or a simpler table example
    DROP TABLE ORDER_TEST;
    CREATE TABLE ORDER_TEST (
    ORD_NO NUMBER (8),
    ORDERDATE DATE,
    CUSTID NUMBER (8) NOT NULL,
    SHIPDATE DATE,
    TOTAL NUMBER (8,2) CONSTRAINT TOTAL_ZERO CHECK
    (TOTAL >= 0),
    CONSTRAINT ORD_UNIQUE UNIQUE (ORD_NO)
    note: ORD_NO can also be a primary key
    If you are doing the INSERT during runtime from a form first
    create a sequence in SQL PLUS to handle the ORD_NO value:
    Create SEQUENCE ORDERNO_UNIQUEVAL_sqnc
    START WITH 000001
    NOMAXVALUE
    NOCACHE;
    and reference it as the ORD_NO parameter in your INSERT
    statement:
    ORDERNO_UNIQUEVAL_sqnc.NEXTVAL
    note: to maintain data integrity you must use the sequence
    everytime you insert a new order to table. To start a new
    sequence drop the sequence and re-create it with whatever "START
    WITH" value you want.
    Hope this helps
    Kevin

  • Hi, I would like to copy my photos (from iphoto) and movies (from i movie) from my Mac book air to my imac in which I also have iphoto and imovie with photos and movies. My goal is to have a unique source in my imac for my photos and movies. Thanks .

    Hi,
    I would like to copy my photos (from iphoto) and movies (from i movie) from my Mac book air to my imac in which I also have iphoto and imovie with photos and movies.
    My goal is to have a unique source of photos and movies in my imac.
    Thanks !
    Nicolas

    As  to iPhoto
    Connect the two Macs together (network, firewire target mode, etc)  or use an external hard drive formatted Mac OS extended (journaled) and drag the iPhoto library intact as a single entity from the old Mac to the pictures folder of the new Mac - launch iPhoto on the new mac and it will open the library and convert it as needed and you will be ready move forward.
    For iMovie support please post in the iMovie forum
    LN

  • How do I get an older version of Pages for older Macbook?

    I am interested in an older version of Pages, one that had the good template options for flyers. I have OS 10.7.5 and since I have an older mac book laptop, I cannot upgrade to Mavericks. How do I get an older version of Pages? Ultimately, I'm interested in making flyers with good ready made templates, so I'm open to another alternative as well, if you have suggestions, thanks!

    It sounds like you had Pages '08/'09.
    You don't still have it?
    It should be in your Applications/iWork folder if you do.
    Peter

  • How to put pictures inside the table in Pages for IPad?

    How can I put pictures inside the table in Pages for IPad? I can do that in Pages in my macbook, but I can't in IPad.

    It would appear that unless you are working from a document that already had section breaks (or the equivilent) ,you can't. I have some files in pages that began as MS Word documents with multiple sections that allow that by tapping on the footer (or header) and making the change. Files created in Pages (or from other sources but without section beaks) do not.

  • How to use  font Symbol and Zapfdingbats. in Pages for iPad

    Pages for ipad has font options of Symbol and Zapf Dingbats.  I would like to use one of these fonts to place arrows in lines of text. Does anyone know how to do this? I am using IOS6 and ipad 3

    Does Pages on the iPad have an Inspector panel? In the Mac version, it's a round blue button in the icon bar at the top of the window.
    If you've got that in the iPad's Pages app, then you can use it to manually raise or lower the baseline of one or more characters, then use the font size to make them smaller. Superscripting after a numeral can be automatic (in the Mac version) by setting that in the Prefs.
    You can probably tell I don't have my iPad yet.
    Rob

  • How do I "tab" in between columns in Pages for iPad?

    As stated above, I need to know how to use a tab key in pages for Ipad. Not how to set a tab, but how to move between them. thanks

    You can only tab from field to field on the iPad with an external keyboard. Most folks use a Bluetooth keyboard, either Apple's or one of a number of 3rd party keyboards. Some folks have also successfully used a USB keyboard connected to the iPad with the USB port provided by the Apple Camera Connection Kit.

  • Is it possible to have different headers for each page for the Pages app?

    I just purchased the Pages app for my ipad and it happens to be one of the best apps i've ever bought.  However, I'm having trouble figuring out how to have different headers for each page of the same document.  Is this possible to do?

    Tommy,
    One of the limitations of Pages for iOS on your iPad is that Pages can't create sections per se. The best you can do is insert page breaks and then assign different columns to that page. The problem comes with the headers and footers - in iOS Pages, the headers and footers apply to the whole document, not the individual sections as you would find in Pages '09 on OSX.
    The workaround is to create your document on OSX, insert the needed sections and headers, save, then transfer the Pages document to your iPad either as a working "blank" or as a new document. The headers and footers will reflect the sections you created in OS X, but you won't be able to add any new ones or new sections on your iPad.

  • HOW CAN I CHANGE FONT STYLE IN INDEX PAGE FOR IBA?

    Hi
    Is it possible to change the font style in INDEX page for iBA?
    Naidu

    NO. In the index page. I figured out that we can change the space and text formate.
    I am preparing a bokk with 1 chapter and 13 section.
    SO, in the index page it is showing like 1.1, 1.2.......1.10, 1.11 so on; on the left hand side and page numbers on the right hand side.
    Can i take out the numbers on the left and have only the section name and page number?
    If so how?

  • I have pages version 2.1 for the i pad. When I try to open pages documents on my mac it says You need a newer version of Pages to open this document. I have updated to the very latest Pages for mac version 4.3. Cant figure it out.

    I have Pages version 2.1 for the i-pad. I have Pages on my Macbook, version 4.3. When I try to ipen a doc on my Mac it says I need a newer version to open this doc. There is no newer version. I need these docs in a bad way and cant get to them on the Mac. Any ideas?

    IOS Pages 2.0 and 2.1 implement an entirely incompatible document format with Pages ’09 v4.3. It cannot open them, and you are then prompted to update to Pages v5+ which is compatible with your IOS Pages.
    Unfortunately, updating to Pages v5+ is a bad thing, as it is a brand new application that has omitted over 90+ features from Pages ’09 v4.3. When you update to Pages v5+, it will move your old still functional version of the earlier Pages into /Applications/iWork. Aside from all the missing functionality, Pages v5+ will likely damage older documents that depend on specific Pages ’09 v4.3 features (including AppleScript and custom Templates).
    Oh, by the way, the older and new Pages documents have the same filename extension (.pages) making document organization difficult without applying different tag colors to old and new documents.
    We are recommending that users remain on their earlier Pages version. You may have to export documents from IOS Pages as Word .docx to avoid the OS X Pages update notice.

  • How can I automatically insert a date in Pages for my Ipad

    Is there any way to automatically insert the current date in a letter using Pages for the IPad?  If so how?

    It is no possible.
    An alternative is to create a Page file with password in Pages for Mac, and save it to iCloud, then open it on the iPad using the password in iCloud.

  • How to change from lowercase to uppercase in Pages for iPad

    First: hello!
    Basically I got a new iPad and I'm using Pages for some document creation but i can't find how to change the text i selected from lowercase to uppercase, in MacOSX is in the Font Menu but I can't find it in Pages anyone knows how to do this?

    Generally, you are more likely to get an answer if you post in the iWork for iOS forum at
    https://discussions.apple.com/community/app_store/iwork_for_ios
     Cheers, Tom 

  • How can i download an older version of pages for late 2007 macbook running osx lion

    i would like to download an older version of the pages for late 2007 macbook running osx lion

    If you previously bought Pages from the Mac App Store, click here and follow the instructions, or go to the Mac App Store main page, click on Support under Quick Links, contact Apple, and see what they say.
    If not, buy an iWork 09 DVD from a source such as Amazon or eBay.
    (110841)

Maybe you are looking for